Skip to content

Commit

Permalink
ci: cancel workflow runs for outdated commits
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Oct 1, 2024
1 parent 5fb136e commit 45976c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
commitlint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 45976c3

Please sign in to comment.