Skip to content

Commit

Permalink
chore(ci): labeler v5 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Sep 19, 2024
1 parent 3a8cc0b commit 666b70e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
29 changes: 19 additions & 10 deletions .github/labeller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,46 @@

# Any change to any file in .github/workflows
'GitHub Actions':
- '.github/workflows/*'
- changed-files:
- any-glob-to-any-file: '.github/workflows/*'

# Any change to the docker-compose file or any dockerfile in the repo
'Docker':
- '**/Dockerfile'
- docker-compose.yml
- changed-files:
- any-glob-to-any-file: '**/Dockerfile'
- any-glob-to-any-file: docker-compose.yml

# Any changes to file or subfolders in /backend
'Backend':
- 'app/backend/**/*'
- changed-files:
- any-glob-to-any-file: 'app/backend/**/*'

# Any changes to file or subfolders in /frontend
'Frontend':
- 'app/frontend/**/*'
- changed-files:
- any-glob-to-any-file: 'app/frontend/**/*'

# Any changes to file or subfolders in /database
'Database':
- 'app/database/**/*'
- changed-files:
- any-glob-to-any-file: 'app/database/**/*'

# Any changes to file or subfolders in /scripts
'Scripts':
- 'app/scripts/**/*'
- changed-files:
- any-glob-to-any-file: 'app/scripts/**/*'

# Any changes to file or subfolders in /openshift
'OpenShift':
- 'openshift/**/*'
- changed-files:
- any-glob-to-any-file: 'openshift/**/*'

# Any changes to file of subfolders in /tests
'Testing':
- 'tests/**/*'
- changed-files:
- any-glob-to-any-file: 'tests/**/*'

# Any change to any file in any directory with a .env in name
'Environment Variables':
- '**/*.env*'
- changed-files:
- any-glob-to-any-file: '**/*.env*'
3 changes: 1 addition & 2 deletions .github/workflows/pr-labeller.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: "Pull Request Labeler"
on:
- pull_request_target
on: [pull_request_target]

jobs:
triage:
Expand Down

0 comments on commit 666b70e

Please sign in to comment.