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:
Nate Moore 2022-08-10 17:25:22 -05:00 committed by GitHub
parent 20fd767234
commit 51847a276f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,10 +9,10 @@ on:
- '.vscode/**'
- '**/*.md'
# Automatically cancel in-progress actions on the same branch
# Automatically cancel in-progress actions on the same branch (unless on main)
concurrency:
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:
run: