[CI][NITPICK]: Rename prerequisites jobs to changed-files-check (#9670)

Related to https://github.com/twentyhq/twenty/pull/9643

Renaming `prerequisites` jobs to a more accurate `changed-files-check`
This commit is contained in:
Paul Rastoin
2025-01-16 14:09:59 +01:00
committed by GitHub
parent f8ddc02b8e
commit 560f715c37
7 changed files with 30 additions and 30 deletions

View File

@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true
jobs:
prerequisites:
changed-files-check:
uses: ./.github/workflows/changed-files.yaml
with:
files: |
@ -20,8 +20,8 @@ jobs:
.github/workflows/ci-e2e.yaml
test:
runs-on: ubuntu-latest
needs: prerequisites
if: needs.prerequisites.outputs.any_changed == 'true' && ( github.event_name == 'push' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-e2e')))
needs: changed-files-check
if: needs.changed-files-check.outputs.any_changed == 'true' && ( github.event_name == 'push' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-e2e')))
timeout-minutes: 30
env:
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
@ -128,7 +128,7 @@ jobs:
if: always() && !cancelled()
timeout-minutes: 1
runs-on: ubuntu-latest
needs: [prerequisites, test]
needs: [changed-files-check, test]
steps:
- name: Fail job if any needs failed
if: contains(needs.*.result, 'failure')