Skip to content

Commit

Permalink
Merge pull request #205 from nextstrain/upload-concurrency
Browse files Browse the repository at this point in the history
Add concurrency restriction to upload GH Action
  • Loading branch information
joverlee521 authored Jan 27, 2025
2 parents 28c1fd6 + a2989b1 commit 89c6350
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ on:
required: false
type: string

concurrency:
group: ${{ github.workflow }}
# Only cancel in progress workflow if the workflow is running on the default branch
cancel-in-progress: ${{ github.ref_name == github.event.repository.default_branch }}

jobs:
upload:
permissions:
Expand Down

0 comments on commit 89c6350

Please sign in to comment.