Skip to content

Commit

Permalink
ci: enable cancel-in-progress to reduce needless actions (#404)
Browse files Browse the repository at this point in the history
Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Dec 2, 2024
1 parent ddb5019 commit 52688d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Linux
on:
push:
pull_request:

concurrency:
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
name: Build & Test
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Windows
on:
push:
pull_request:

concurrency:
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
name: Build & Test
Expand Down

0 comments on commit 52688d8

Please sign in to comment.