Add autocancellation of the stale PR GHA jobs (#663)

Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
This commit is contained in:
Sviatoslav Sydorenko 2021-11-04 07:59:06 +01:00 committed by GitHub
parent 9fa14d70ff
commit eeb11e2b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,15 @@ name: Proxy.py Library
on: [push, pull_request] # yamllint disable-line rule:truthy
concurrency:
group: >-
${{
github.workflow
}}-${{
github.event.pull_request.number || github.sha
}}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}-latest