Skip to content

Commit

Permalink
[PR] cancel previous build on new commit (#3035)
Browse files Browse the repository at this point in the history
* [PR] cancel previous build on new commit
Signed-off-by: Iliyan Velichkov <velichkov.iliyan@gmail.com>

* test termination
  • Loading branch information
iliyan-velichkov authored Nov 27, 2023
1 parent 54e48c8 commit d952d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}-latest
Expand Down

0 comments on commit d952d79

Please sign in to comment.