Skip to content

Commit

Permalink
Do not cancel-in-progress on main (#4253)
Browse files Browse the repository at this point in the history
* chore(ci): do not cancel-in-progress on main

* still cancels?

Co-authored-by: Nate Moore <[email protected]>
  • Loading branch information
natemoo-re and natemoo-re authored Aug 10, 2022
1 parent 20fd767 commit 51847a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 51847a2

Please sign in to comment.