Skip to content

Commit

Permalink
Cancel outdated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Jan 6, 2025
1 parent 245b472 commit 731af68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
branches: [ "main" ]
pull_request:

# Cancel outdated workflows
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
# -------------------------------------------
# 1) CI Format job
Expand Down

0 comments on commit 731af68

Please sign in to comment.