Skip to content

Commit 9f9dbab

Browse files
committed
Don't run GHA on push; cancel in progress runs when new code pushed.
1 parent b092258 commit 9f9dbab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/molecule.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
22
name: Molecule Test
33
on:
4-
push:
54
pull_request:
65
schedule:
76
- cron: '30 5 * * 0'
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
810
jobs:
911
build:
1012
runs-on: ubuntu-latest
1113
strategy:
14+
fail-fast: true
1215
max-parallel: 4
1316
matrix:
1417
python-version: ["3.12", "3.13"]

0 commit comments

Comments
 (0)