Skip to content

Commit

Permalink
Add autocancellation of the stale PR GHA jobs (#663)
Browse files Browse the repository at this point in the history
Co-authored-by: Abhinav Singh <[email protected]>
  • Loading branch information
webknjaz and abhinavsingh authored Nov 4, 2021
1 parent 9fa14d7 commit eeb11e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eeb11e2

Please sign in to comment.