From e7be2b923687f641e822cf15cb8d2f8de517081d Mon Sep 17 00:00:00 2001 From: Carlos Felix <63804190+carlosfelix2@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:44:05 -0500 Subject: [PATCH] Force use of matrix in GitHub Action job names --- .github/workflows/pr_backend.yml | 4 ++++ .github/workflows/pr_frontend.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/pr_backend.yml b/.github/workflows/pr_backend.yml index ca36481a..cba7be0f 100644 --- a/.github/workflows/pr_backend.yml +++ b/.github/workflows/pr_backend.yml @@ -8,6 +8,7 @@ concurrency: jobs: # JOB to run change detection detect-be-changes: + name: Detect backend changes runs-on: ubuntu-latest # Required permissions permissions: @@ -23,7 +24,9 @@ jobs: filters: | backend: - 'data/**' + - '.github/workflows/pr_backend.yml' code-quality-checks: + name: Code quality checks and tests - ${{ matrix.python-version }} needs: detect-be-changes if: ${{ needs.detect-be-changes.outputs.backend == 'true' }} runs-on: ubuntu-latest @@ -66,6 +69,7 @@ jobs: run: | poetry run pytest data_pipeline/ generate-score-tiles: + name: Score and tile generation - ${{ matrix.python-version }} needs: detect-be-changes if: ${{ needs.detect-be-changes.outputs.backend == 'true' }} runs-on: ubuntu-latest diff --git a/.github/workflows/pr_frontend.yml b/.github/workflows/pr_frontend.yml index b1c84293..de4232a2 100644 --- a/.github/workflows/pr_frontend.yml +++ b/.github/workflows/pr_frontend.yml @@ -7,6 +7,7 @@ concurrency: jobs: # JOB to run change detection detect-fe-changes: + name: Detect frontend changes runs-on: ubuntu-latest # Required permissions permissions: @@ -22,7 +23,9 @@ jobs: filters: | frontend: - 'client/**' + - '.github/workflows/pr_frontend.yml' frontend-build: + name: Frontend build - ${{ matrix.node-version }} needs: detect-fe-changes if: ${{ needs.detect-fe-changes.outputs.frontend == 'true' }} runs-on: ubuntu-latest