Skip to content

Commit

Permalink
Update labeler.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
supperthomas committed Aug 25, 2024
1 parent 2398570 commit b3317ed
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
# Add 'root' label to any root file changes
# Quotation marks are required for the leading asterisk
root:
- changed-files:
- any-glob-to-any-file: '*'

# Add 'AnyChange' label to any changes within the entire repository
AnyChange:
- changed-files:
- any-glob-to-any-file: '**'

# Add 'Documentation' label to any changes within 'docs' folder or any subfolders
Documentation:
# Add 'Supperthomas' label to any changes within 'docs' folder or any subfolders
Supperthomas:
- changed-files:
- any-glob-to-any-file: source/**

# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
source:
- all:
- changed-files:
- any-glob-to-any-file: 'src/**/*'
- all-globs-to-all-files: '!src/docs/*'

# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch: ['^feature', 'feature']

# Add 'release' label to any PR that is opened against the `main` branch
release:
- base-branch: 'main'

0 comments on commit b3317ed

Please sign in to comment.