Skip to content

Commit

Permalink
Merge pull request #408 from fluent/allow-cancel
Browse files Browse the repository at this point in the history
ci: enable cancel-in-progress to reduce needless actions (backport #404)
  • Loading branch information
kenhys authored Dec 2, 2024
2 parents ddb5019 + 52688d8 commit d84edad
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 d84edad

Please sign in to comment.