Skip to content

Commit c5e3843

Browse files
authored
Add concurrency scope for individual jobs in build-node-python.yml
1 parent faf5cd8 commit c5e3843

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-node-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
name: Node
5858
if: ${{ !inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true') }}
5959
concurrency:
60-
group: "${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
60+
group: "node-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
6161
cancel-in-progress: true
6262
permissions:
6363
id-token: write
@@ -87,7 +87,7 @@ jobs:
8787
name: Python
8888
if: ${{ !inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true') }}
8989
concurrency:
90-
group: "${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
90+
group: "python-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
9191
cancel-in-progress: true
9292
runs-on: ubuntu-20.04
9393
steps:
@@ -113,7 +113,7 @@ jobs:
113113
name: Node, Python, Cypress
114114
if: ${{ inputs.cypress_enable && (inputs.cypress_run_because_flag || inputs.cypress_run_because_branch == 'true') }}
115115
concurrency:
116-
group: "${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
116+
group: "node-python-cypress-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
117117
cancel-in-progress: true
118118
permissions:
119119
id-token: write

0 commit comments

Comments
 (0)