Skip to content

Commit

Permalink
ci: Don't cancel in-progress on main (#1517)
Browse files Browse the repository at this point in the history
This PR changes the CI workflow behavior to not cancel any in-progress
jobs on `main`.

This means that there will only be one concurrent job running for `main`
at a given time, and it will run to completion.

This should allow us to merge multiple PRs concurrently without having
to worry about them stomping on each other during the packaging/upload
process.
  • Loading branch information
maxdeviant authored Oct 11, 2024
1 parent 86224b7 commit e40c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

env:
ZED_EXTENSION_CLI_SHA: ccf6f27b8f1bdfb803b9cc0da0b0cf5c9e136dd9
Expand Down

0 comments on commit e40c4f8

Please sign in to comment.