From 2e2133d2742a368e81b7754d868650a473076d60 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 18 Sep 2024 19:14:31 -0700 Subject: [PATCH 1/2] chore(ci): labeler v5 updates --- .github/{labeller.yaml => labeler.yaml} | 28 ++++++++++++------- .../{pr-labeller.yaml => pr-labeler.yaml} | 6 ++-- 2 files changed, 21 insertions(+), 13 deletions(-) rename .github/{labeller.yaml => labeler.yaml} (53%) rename .github/workflows/{pr-labeller.yaml => pr-labeler.yaml} (69%) 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 From 6338026e836ca4581a844695d2c0052ab27e1a13 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 02:35:25 +0000 Subject: [PATCH 2/2] chore(deps): update dependency babel-jest to v29 --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",