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 22, 2024
1 parent 3190150 commit e4984b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
- created
jobs:
container-tests:
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: ocp-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit e4984b8

Please sign in to comment.