Do not cancel-in-progress on main (#4253)
* chore(ci): do not cancel-in-progress on main * still cancels? Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
parent
20fd767234
commit
51847a276f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -9,10 +9,10 @@ on:
|
||||||
- '.vscode/**'
|
- '.vscode/**'
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
|
||||||
# Automatically cancel in-progress actions on the same branch
|
# Automatically cancel in-progress actions on the same branch (unless on main)
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
Loading…
Add table
Reference in a new issue