Skip to content

Commit

Permalink
cancel running GitHub Action if a new one is created
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank committed Mar 5, 2024
1 parent 208cee3 commit 0377f1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on:
issue_comment:
types:
- created

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
container-tests:
runs-on: ubuntu-20.04
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/openshift-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on:
issue_comment:
types:
- created

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
openshift-tests:
name: "${{ matrix.test_case }} tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
Expand Down

0 comments on commit 0377f1f

Please sign in to comment.