Skip to content

Commit

Permalink
Merge pull request #8 from caffeine-addictt/ci/labeler
Browse files Browse the repository at this point in the history
Ci: Add automatic labeling
  • Loading branch information
caffeine-addictt authored Mar 14, 2024
2 parents 1483e17 + ddf8d34 commit 9a4e811
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is for the labeler workflow
# Documentation https://github.com/marketplace/actions/labeler

Documentation:
- docs/**/*
- .github/*
- ./*{.md,.mdx}

"Type: Test":
- tests/**/*
- ./**/*test*

"Type: CI":
- .github/workflows/*
4 changes: 4 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# To counteract this, please block force pushing and enable "Require CODE OWNER Approval" for Pull Requests to the main branch.

labels:
- name: "Type: CI"
color: 54b2ff
description: A problem or enhancement related to continuous integration.

- name: "Type: Breaking"
color: a90000
description: A problem or enhancement related to a breaking change.
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Labeler

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 9a4e811

Please sign in to comment.