mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
GitHub: cancel jobs for previous pushes of PR
This takes over two more settings we have in the lnd repo. The first is to cancel existing CI runs for the same PR if it is pushed again before the previous run has completed. The second is just for consistency, to make sure all shells are bash shells.
This commit is contained in:
parent
2f72da0490
commit
415e589c63
1 changed files with 9 additions and 0 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -8,6 +8,15 @@ on:
|
|||
branches:
|
||||
- "*"
|
||||
|
||||
concurrency:
|
||||
# Cancel any previous workflows if they are from a PR or push.
|
||||
group: ${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
env:
|
||||
# If you change this value, please change it in the following files as well:
|
||||
# /Dockerfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue