ci: cancel current runs on new trigger

master
Marc Cornellà 4 years ago
parent 07b829c894
commit ebfd7cb219
No known key found for this signature in database
GPG Key ID: 314585E776A9C1B
  1. 4
      .github/workflows/main.yml
  2. 4
      .github/workflows/project.yml

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

@ -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…
Cancel
Save