diff options
author | 2022-08-10 17:25:22 -0500 | |
---|---|---|
committer | 2022-08-10 17:25:22 -0500 | |
commit | 51847a276f0fc0de60546eab5a4cb2afb1dc9ddc (patch) | |
tree | 2ee7579ed54a061475906fe148e437b6e95283d7 | |
parent | 20fd76723433fa38323767967e7559d40130fbba (diff) | |
download | astro-51847a276f0fc0de60546eab5a4cb2afb1dc9ddc.tar.gz astro-51847a276f0fc0de60546eab5a4cb2afb1dc9ddc.tar.zst astro-51847a276f0fc0de60546eab5a4cb2afb1dc9ddc.zip |
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>
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 286e99dc7..37e0db9ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |