Merge pull request #5922 from microDev1/ci

Automatically cancel superseded CI build of PR
This commit is contained in:
Dan Halbert 2022-01-26 12:43:41 -05:00 committed by GitHub
commit 78781c654e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,10 @@ on:
check_suite: check_suite:
types: [rerequested] types: [rerequested]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
test: test:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04

View File

@ -12,6 +12,10 @@ on:
- 'ports/unix/**' - 'ports/unix/**'
- 'ports/windows/**' - 'ports/windows/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
build: build:
runs-on: windows-2019 runs-on: windows-2019

View File

@ -8,6 +8,10 @@ on:
pull_request: pull_request:
push: push:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
pre-commit: pre-commit:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04