From ef74d0b0d3fc17a7ffa0a8a48d719d17ae3df91f Mon Sep 17 00:00:00 2001 From: Peter Macdonald Date: Sat, 4 May 2024 16:28:01 +0200 Subject: [PATCH 1/2] Fix CICD Signed-off-by: Peter Macdonald --- .github/workflows/main.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 344dfda..109cede 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -20,6 +20,9 @@ jobs: with: node-version: '18.x' + - name: Set Yarn Version + run: yarn policies set-version 4.2.1 + - name: Clean Yarn Cache run: yarn cache clean @@ -40,4 +43,4 @@ jobs: yarn prettier:check # - name: Run Tests - # run: yarn test:all + # run: yarn test:all \ No newline at end of file From 895e702f102fe48abea23e21bde19129c6ce370a Mon Sep 17 00:00:00 2001 From: Peter Macdonald Date: Sat, 4 May 2024 16:35:00 +0200 Subject: [PATCH 2/2] Fix CICD Signed-off-by: Peter Macdonald --- .github/labeler.yml | 16 ++++++++++------ .github/workflows/main.yaml | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 578829d..c03eaf3 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,15 +1,19 @@ backend: - - plugins/open-feedback-backend/**/* + changed-files: + any-glob-to-any-file: ['plugins/open-feedback-backend/**/*'] frontend: - - plugins/open-feedback-frontend/**/* + changed-files: + any-glob-to-any-file: ['plugins/open-feedback-frontend/**/*'] common: - - plugins/open-feedback-common/**/* + changed-files: + any-glob-to-any-file: ['plugins/open-feedback-common/**/*'] cicd: - - .github/workflows/**/* + changed-files: + any-glob-to-any-file: ['.github/workflows/**/*'] documentation: - - docs/**/* - - README.md + changed-files: + any-glob-to-any-file: ['docs/**/*', 'README.md'] diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 109cede..46aba62 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -43,4 +43,4 @@ jobs: yarn prettier:check # - name: Run Tests - # run: yarn test:all \ No newline at end of file + # run: yarn test:all