mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-30 16:01:14 -04:00
fix(GHA): improve specificity of concurrency (#59677)
This commit is contained in:
committed by
GitHub
parent
a78f40f7e6
commit
c87ae5a8ba
7
.github/workflows/e2e-playwright.yml
vendored
7
.github/workflows/e2e-playwright.yml
vendored
@@ -7,15 +7,12 @@ on:
|
||||
- completed
|
||||
# TODO: refactor with a workflow_call
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
branches:
|
||||
- 'main'
|
||||
- 'next-**'
|
||||
- 'e2e-**'
|
||||
- 'temp-**' # Temporary branches allowed on Upstream
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
5
.github/workflows/e2e-third-party.yml
vendored
5
.github/workflows/e2e-third-party.yml
vendored
@@ -6,13 +6,12 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'prod-**'
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
# to test this ad-hoc
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
2
.github/workflows/github-labeler.yaml
vendored
2
.github/workflows/github-labeler.yaml
vendored
@@ -6,7 +6,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
2
.github/workflows/i18n-validate-builds.yml
vendored
2
.github/workflows/i18n-validate-builds.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
2
.github/workflows/i18n-validate-prs.yml
vendored
2
.github/workflows/i18n-validate-prs.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/node.js-tests.yml
vendored
4
.github/workflows/node.js-tests.yml
vendored
@@ -10,13 +10,13 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'next-**'
|
||||
- 'temp-**' # Temporary branches allowed on Upstream
|
||||
# Run on Merge Queue
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user