Skip to content

Commit faf5cd8

Browse files
authored
Update build-node-python.yml
1 parent ee7bbe0 commit faf5cd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
build-python:
8787
name: Python
8888
if: ${{ !inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true') }}
89+
concurrency:
90+
group: "${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
91+
cancel-in-progress: true
8992
runs-on: ubuntu-20.04
9093
steps:
9194
- name: Checkout source repository
@@ -109,6 +112,9 @@ jobs:
109112
build-node-python-cypress:
110113
name: Node, Python, Cypress
111114
if: ${{ inputs.cypress_enable && (inputs.cypress_run_because_flag || inputs.cypress_run_because_branch == 'true') }}
115+
concurrency:
116+
group: "${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}"
117+
cancel-in-progress: true
112118
permissions:
113119
id-token: write
114120
contents: write

0 commit comments

Comments
 (0)