|
84 | 84 | required: false |
85 | 85 | type: boolean |
86 | 86 | default: false |
| 87 | + cancel_in_progress: |
| 88 | + type: boolean |
| 89 | + default: true |
87 | 90 | timeout: |
88 | 91 | description: "Timeout for each job in minutes." |
89 | 92 | type: number |
@@ -126,7 +129,7 @@ jobs: |
126 | 129 | if: ${{ (!inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true')) && (!inputs.playwright_enable || (!inputs.playwright_run_because_flag && inputs.playwright_run_because_branch != 'true')) }} |
127 | 130 | concurrency: |
128 | 131 | group: "node-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}" |
129 | | - cancel-in-progress: true |
| 132 | + cancel-in-progress: ${{ fromJSON(inputs.cancel_in_progress) }} |
130 | 133 | permissions: |
131 | 134 | id-token: write |
132 | 135 | contents: write |
@@ -168,7 +171,7 @@ jobs: |
168 | 171 | if: ${{ (!inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true')) && (!inputs.playwright_enable || (!inputs.playwright_run_because_flag && inputs.playwright_run_because_branch != 'true')) }} |
169 | 172 | concurrency: |
170 | 173 | group: "python-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}" |
171 | | - cancel-in-progress: true |
| 174 | + cancel-in-progress: ${{ fromJSON(inputs.cancel_in_progress) }} |
172 | 175 | permissions: |
173 | 176 | id-token: write |
174 | 177 | contents: write |
@@ -207,7 +210,7 @@ jobs: |
207 | 210 | if: ${{ inputs.cypress_enable && (inputs.cypress_run_because_flag || inputs.cypress_run_because_branch == 'true') }} |
208 | 211 | concurrency: |
209 | 212 | group: "node-python-cypress-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}" |
210 | | - cancel-in-progress: true |
| 213 | + cancel-in-progress: ${{ fromJSON(inputs.cancel_in_progress) }} |
211 | 214 | permissions: |
212 | 215 | id-token: write |
213 | 216 | contents: write |
@@ -348,7 +351,7 @@ jobs: |
348 | 351 | if: ${{ inputs.playwright_enable && (inputs.playwright_run_because_flag || inputs.playwright_run_because_branch == 'true') }} |
349 | 352 | concurrency: |
350 | 353 | group: "node-python-playwright-${{ github.workflow }}-${{ github.ref || github.head_ref }}-${{ inputs.branch }}" |
351 | | - cancel-in-progress: true |
| 354 | + cancel-in-progress: ${{ fromJSON(inputs.cancel_in_progress) }} |
352 | 355 | permissions: |
353 | 356 | id-token: write |
354 | 357 | contents: write |
|
0 commit comments