Skip to content

Commit 15a1b90

Browse files
committed
Ensure for all workflows we cancel in-progress jobs on repeated pushes
.. no need to keep jobs running if we pushed once more.
1 parent 126c5da commit 15a1b90

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.github/workflows/cln-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: CI Checks - CLN Integration Tests
22

33
on: [push, pull_request]
44

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

.github/workflows/kotlin.yml

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

33
on: [push, pull_request]
44

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

.github/workflows/lnd-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: CI Checks - LND Integration Tests
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
check-lnd:
711
runs-on: ubuntu-latest
@@ -49,4 +53,4 @@ jobs:
4953
run: LND_CERT_PATH=$LND_DATA_DIR/tls.cert LND_MACAROON_PATH=$LND_DATA_DIR/data/chain/bitcoin/regtest/admin.macaroon
5054
RUSTFLAGS="--cfg lnd_test" cargo test --test integration_tests_lnd -- --exact --show-output
5155
env:
52-
LND_DATA_DIR: ${{ env.LND_DATA_DIR }}
56+
LND_DATA_DIR: ${{ env.LND_DATA_DIR }}

.github/workflows/python.yml

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

33
on: [push, pull_request]
44

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

0 commit comments

Comments
 (0)