Add concurency limits on GHA workflows. (#11656)
Austin S. Hemmelgarn committed
Oct 13, 2021 at 09:55 UTC
a13dba6a307d10b53716a7b2b0d0083f55b89901
9 files changed
+28
.github/workflows/build-and-install.yml
+3
@@ -7,6 +7,9 @@ on:
7
pull_request: null
8
env:
9
DO_NOT_TRACK: 1
10
+concurrency:
11
+ group: builder-${{ github.ref }}
12
+ cancel-in-progress: true
13
jobs:
14
static-build:
15
name: Static Build
.github/workflows/checks.yml
+3
@@ -7,6 +7,9 @@ on:
7
pull_request: null
8
env:
9
DO_NOT_TRACK: 1
10
+concurrency:
11
+ group: checks-${{ github.ref }}
12
+ cancel-in-progress: true
13
jobs:
14
checksum-checks:
15
name: Checksums
.github/workflows/coverity.yml
+3
@@ -10,6 +10,9 @@ on:
10
- coverity-scan.sh
11
env:
12
DO_NOT_TRACK: 1
13
+concurrency:
14
+ group: coverity-${{ github.ref }}
15
+ cancel-in-progress: true
16
jobs:
17
coverity:
18
if: github.repository == 'netdata/netdata'
.github/workflows/docker.yml
+3
@@ -13,6 +13,9 @@ on:
13
required: true
14
env:
15
DO_NOT_TRACK: 1
16
+concurrency:
17
+ group: docker-${{ github.ref }}-${{ github.event_name }}
18
+ cancel-in-progress: true
19
jobs:
20
docker-test:
21
name: Docker Runtime Test
.github/workflows/labeler.yml
+3
@@ -6,6 +6,9 @@ on:
6
- cron: '*/5 * * * *'
7
env:
8
DO_NOT_TRACK: 1
9
+concurrency:
10
+ group: labeller
11
+ cancel-in-progress: true
12
jobs:
13
labeler:
14
runs-on: ubuntu-latest
.github/workflows/packaging.yml
+3
@@ -17,6 +17,9 @@ on:
17
required: false
18
env:
19
DO_NOT_TRACK: 1
20
+concurrency:
21
+ group: packages-${{ github.ref }}-${{ github.event_name }}
22
+ cancel-in-progress: true
23
jobs:
24
build:
25
name: Build
.github/workflows/review.yml
+3
@@ -5,6 +5,9 @@ on:
5
pull_request: null
6
env:
7
DO_NOT_TRACK: 1
8
+concurrency:
9
+ group: review-${{ github.ref }}
10
+ cancel-in-progress: true
11
jobs:
12
prep-review:
13
name: Prepare Review Jobs
.github/workflows/tests.yml
+3
@@ -16,6 +16,9 @@ on:
16
- '**.h'
17
env:
18
DO_NOT_TRACK: 1
19
+concurrency:
20
+ group: tests-${{ github.ref }}
21
+ cancel-in-progress: true
22
jobs:
23
unit-tests-legacy:
24
name: Unit Tests (legacy)
.github/workflows/updater.yml
+4
@@ -11,6 +11,10 @@ on:
11
env:
12
DO_NOT_TRACK: 1
13
14
+concurrency:
15
+ group: updater-${{ github.ref }}
16
+ cancel-in-progress: true
17
+
18
jobs:
19
source-build:
20
name: Install, Build & Update