Skip to content

Commit

Permalink
ci: add concurrency setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed May 30, 2024
1 parent ab34575 commit d122b27
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 @@ -7,6 +7,10 @@ on:
paths-ignore: ['**/*.md']
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name == 'main' && github.sha || github.ref }}
cancel-in-progress: true

jobs:
linux:
uses: ./.github/workflows/linux.yml
Expand Down

0 comments on commit d122b27

Please sign in to comment.