diff --git a/.github/labeller.yaml b/.github/labeler.yaml similarity index 53% rename from .github/labeller.yaml rename to .github/labeler.yaml index f75dc4e6c..32fe91070 100644 --- a/.github/labeller.yaml +++ b/.github/labeler.yaml @@ -4,37 +4,45 @@ # 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', '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-labeler.yaml similarity index 69% rename from .github/workflows/pr-labeller.yaml rename to .github/workflows/pr-labeler.yaml index 270b6d46b..212aaab82 100644 --- a/.github/workflows/pr-labeller.yaml +++ b/.github/workflows/pr-labeler.yaml @@ -1,6 +1,5 @@ name: "Pull Request Labeler" -on: -- pull_request_target +on: [pull_request_target] jobs: triage: @@ -9,7 +8,8 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: .github/labeller.yaml + configuration-path: .github/labeler.yaml diff --git a/frontend/package.json b/frontend/package.json index 4ead57a23..a22d074b8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -48,7 +48,7 @@ "@vue/test-utils": "1.0.0-beta.29", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.0.1", - "babel-jest": "^23.6.0", + "babel-jest": "^29.0.0", "eslint": "^5.16.0", "eslint-plugin-vue": "^5.0.0", "jest-transform-stub": "^2.0.0",