mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-17 19:30:10 +00:00
ci: cancel current runs on new trigger
This commit is contained in:
parent
07b829c894
commit
ebfd7cb219
2 changed files with 8 additions and 0 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -10,6 +10,10 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: Run tests
|
||||
|
|
4
.github/workflows/project.yml
vendored
4
.github/workflows/project.yml
vendored
|
@ -5,6 +5,10 @@ on:
|
|||
pull_request_target:
|
||||
types: [opened, synchronize]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add to project
|
||||
|
|
Loading…
Reference in a new issue