Skip to content

Commit

Permalink
Allow cancel existing duplicated tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Sep 21, 2024
1 parent cd906b7 commit 78c172b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: build

on: [push, pull_request]

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

jobs:
build-framework:
runs-on: self-hosted
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: test

on: [push, pull_request]

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

jobs:
run-tests:
runs-on: self-hosted
Expand Down

0 comments on commit 78c172b

Please sign in to comment.