Skip to content

Commit

Permalink
Update labeler.yml (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimesKey authored Aug 27, 2024
1 parent 7de7eca commit b755527
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Invalid label: If there are changes in /projects AND other top-level directories.
Invalid:
- all:
- changed-files:
- any-glob-to-any-file: '*'
- all-globs-to-any-file: 'projects/**'

# Add 'Submission' label to any changes within '/projects' folder or any subfolders
- all:
- changed-files:
- 'projects/**'
- '!projects/**'
# Submission label: Apply when there are changes ONLY within /projects.
Submission:
- changed-files:
- any-glob-to-any-file: 'projects/**'
- all:
- changed-files:
- 'projects/**'
- any:
- changed-files:
- '!*/**'

# Dev label: Apply when there are changes ONLY outside /projects.
Dev:
- all:
- changed-files:
- any-glob-to-any-file: '*'
- all-globs-to-any-file: '!projects/**'
- all:
- changed-files:
- '*'
- any:
- changed-files:
- '!projects/**'

0 comments on commit b755527

Please sign in to comment.