Skip to content

Commit

Permalink
workflows: strategy.job-index for concurrency
Browse files Browse the repository at this point in the history
Add the strategy.job-index back into the concurrency key, now that
these are back at the job level.

Co-authored-by: Axel Heider <[email protected]>
Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 and axel-h committed Feb 14, 2024
1 parent a92830a commit fcc2c61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sel4bench-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# To reduce the load on GitHub runner numbers and machine queue we cancel
# any older runs of this workflow for the current PR.
concurrency:
group: ${{ github.workflow }}-sel4bench-pr-build-${{ github.event.number }}
group: ${{ github.workflow }}-sel4bench-build-pr-${{ github.event.number }}-${{ strategy.job-index }}
cancel-in-progress: true
strategy:
fail-fast: false
Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build]
concurrency:
group: ${{ github.workflow }}-sel4bench-pr-hw-run-${{ github.event.number }}
group: ${{ github.workflow }}-sel4bench-hw-run-pr-${{ github.event.number }}-${{ strategy.job-index }}
cancel-in-progress: true
strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sel4test-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# To reduce the load (especially on the machine queue) we cancel any older
# runs of this workflow for the current PR.
concurrency:
group: ${{ github.workflow }}-sel4test-pr-build-${{ github.event.number }}
group: ${{ github.workflow }}-sel4test-build-pr-${{ github.event.number }}-${{ strategy.job-index }}
cancel-in-progress: true
strategy:
fail-fast: false
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
github.event.action == 'labeled' &&
github.event.label.name == 'hw-test') }}
concurrency:
group: ${{ github.workflow }}-sel4test-pr-hw-run-${{ github.event.number }}
group: ${{ github.workflow }}-sel4test-hw-run-pr-${{ github.event.number }}-${{ strategy.job-index }}
cancel-in-progress: true
strategy:
fail-fast: false
Expand Down

0 comments on commit fcc2c61

Please sign in to comment.