Skip to content

Commit eeb11e2

Browse files
Add autocancellation of the stale PR GHA jobs (#663)
Co-authored-by: Abhinav Singh <[email protected]>
1 parent 9fa14d7 commit eeb11e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test-library.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ name: Proxy.py Library
33

44
on: [push, pull_request] # yamllint disable-line rule:truthy
55

6+
concurrency:
7+
group: >-
8+
${{
9+
github.workflow
10+
}}-${{
11+
github.event.pull_request.number || github.sha
12+
}}
13+
cancel-in-progress: true
14+
615
jobs:
716
build:
817
runs-on: ${{ matrix.os }}-latest

0 commit comments

Comments
 (0)