Skip to content

Commit e5110e8

Browse files
authored
chore(ci): adding concurrency option to pr-check (podman-desktop#8997)
* chore(ci): adding concurrency option to pr-check Signed-off-by: axel7083 <[email protected]> * Update .github/workflows/pr-check.yaml Signed-off-by: axel7083 <[email protected]> --------- Signed-off-by: axel7083 <[email protected]>
1 parent 6a64404 commit e5110e8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/pr-check.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717

1818
name: pr-check
1919

20-
on:
20+
on:
2121
pull_request:
2222
types: [labeled, synchronize, opened, reopened]
2323

24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
26+
cancel-in-progress: true
27+
2428
jobs:
2529
windows:
2630
name: Windows
@@ -337,7 +341,7 @@ jobs:
337341
with:
338342
fetch-depth: 2
339343

340-
- name: Evaluate changes in files
344+
- name: Evaluate changes in files
341345
id: pnpm_changed
342346
run: |
343347
git fetch origin ${{ github.event.pull_request.base.ref }}
@@ -411,7 +415,7 @@ jobs:
411415
always()
412416
steps:
413417
- name: Evaluate the Windows Update test results
414-
run: |
418+
run: |
415419
echo "Windows updater result: ${{ needs.run-update-e2e-test.result }}"
416420
if [ "${{ needs.run-update-e2e-test.result }}" = "failure" ]; then
417421
echo "Windows udpater test failed..."

0 commit comments

Comments
 (0)