diff --git a/.github/labeller.yaml b/.github/labeller.yaml index f75dc4e6c..aac0d9989 100644 --- a/.github/labeller.yaml +++ b/.github/labeller.yaml @@ -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*' diff --git a/.github/workflows/pr-labeller.yaml b/.github/workflows/pr-labeller.yaml index 270b6d46b..b906d3588 100644 --- a/.github/workflows/pr-labeller.yaml +++ b/.github/workflows/pr-labeller.yaml @@ -1,6 +1,5 @@ name: "Pull Request Labeler" -on: -- pull_request_target +on: [pull_request_target] jobs: triage: