Skip to content

Commit

Permalink
github actions: add concurrency, stop in progress actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank committed Mar 20, 2024
1 parent 430cde6 commit 2efcd54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
- created
jobs:
container-tests:
# This job only runs for '[test]' pull request comments by owner, member
runs-on: ubuntu-20.04
name: "Container tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
runs-on: ubuntu-20.04
concurrency:
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/openshift-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
# This job only runs for '[test-all]' or '[test-openshift] pull request comments by owner, member
name: "${{ matrix.test_case }} tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
runs-on: ubuntu-20.04
concurrency:
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 2efcd54

Please sign in to comment.