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 <hayashi@clear-code.com>
  • Loading branch information
kenhys authored Nov 29, 2024
1 parent 1319757 commit da7da3f
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 da7da3f

Please sign in to comment.