Skip to content

Commit

Permalink
Add concurrency groups to CI workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Nov 7, 2023
1 parent dac881b commit cd7aeaf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-isos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:

jobs:
ci:
# concurrency:
# group: ${{ github.workflow }}
# cancel-in-progress: false
concurrency:
group: ${{ github.workflow }}-${{ matrix.build.product }}-${{ matrix.build.variant }}
cancel-in-progress: false
strategy:
max-parallel: 2
fail-fast: false
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-ostree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:

jobs:
ci:
concurrency:
group: ${{ github.workflow }}-${{ matrix.variant }}
cancel-in-progress: false
strategy:
max-parallel: 2
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:

jobs:
build:
concurrency:
group: ${{ github.workflow }}-${{ inputs.variant }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ inputs.variant }}
# cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ostree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:

jobs:
build:
concurrency:
group: ${{ github.workflow }}-${{ inputs.variant }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ inputs.variant }}
# cancel-in-progress: true
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit cd7aeaf

Please sign in to comment.