Skip to content

Commit 626528e

Browse files
robertlong13tridge
authored andcommitted
.github: skip previous CI jobs on PR
1 parent ce3181f commit 626528e

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/pylint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Pylint
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ci-${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
build:
711
runs-on: ubuntu-latest

.github/workflows/python-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
release:
1010
types: [published]
1111

12+
concurrency:
13+
group: ci-${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
deploy:
1418

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: test pymavlink
22

33
on: [push, pull_request]
4-
# paths:
5-
# - "*"
6-
# - "!README.md" <-- don't rebuild on doc change
4+
5+
concurrency:
6+
group: ci-${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
78

89
jobs:
910
build:

0 commit comments

Comments
 (0)