Skip to content

Commit 41da4db

Browse files
committed
github actions: add concurrency, stop in progress actions
1 parent eb4a902 commit 41da4db

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/container-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
distgen-check:
77
name: "Check distgen generated files"
88
runs-on: ubuntu-20.04
9+
concurrency:
10+
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
11+
cancel-in-progress: true
912
if: |
1013
github.event.issue.pull_request
1114
&& (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))

.github/workflows/openshift-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
distgen-check:
77
name: "Check distgen generated files"
88
runs-on: ubuntu-20.04
9+
concurrency:
10+
group: ocp-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
11+
cancel-in-progress: true
912
if: |
1013
github.event.issue.pull_request
1114
&& (contains(github.event.comment.body, '[test-openshift]') || contains(github.event.comment.body, '[test-all]'))

0 commit comments

Comments
 (0)