1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-21 07:20:09 +00:00

ci: cancel current runs on new trigger

This commit is contained in:
Marc Cornellà 2022-02-21 19:27:21 +01:00
parent 07b829c894
commit ebfd7cb219
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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