Skip to content

Commit

Permalink
ci: 🎡 add github action concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoQi99 committed Dec 14, 2023
1 parent 41a577e commit 9fc2a28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
branches:
- main
pull_request:
branches:
- main
- 'feat/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down

0 comments on commit 9fc2a28

Please sign in to comment.