Skip to content

Commit

Permalink
control concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi committed Aug 14, 2024
1 parent 5c4af09 commit c8a702b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/chart-prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
needs:
- get-changed-charts
strategy:
max-parallel: 1
matrix:
chart: ${{ fromJson(needs.get-changed-charts.outputs.changed_charts) }}
if: ${{ needs.get-changed-charts.outputs.changed_charts != '[]' }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ on:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# make sure only one release is processed at a time
group: ${{ github.workflow }}
cancel-in-progress: false

jobs:
check-chart-released:
Expand Down

0 comments on commit c8a702b

Please sign in to comment.