DEV: Cancel in-progress test runs on PRs (#15096)

This commit is contained in:
Penar Musaraj 2021-11-25 15:44:40 -05:00 committed by GitHub
parent d99deaf1ab
commit 78830d14b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,10 @@ on:
branches:
- main
concurrency:
group: ember-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true
jobs:
build:
name: run

View File

@ -6,6 +6,10 @@ on:
branches:
- main
concurrency:
group: linting-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true
jobs:
build:
name: run

View File

@ -6,6 +6,10 @@ on:
branches:
- main
concurrency:
group: tests-${{ format('{0}-{1}', github.head_ref, github.job) || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true
jobs:
build:
name: ${{ matrix.target }} ${{ matrix.build_type }}