mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-06-15 08:17:05 +00:00
ci: only run buildcache on dev/master pushes
The push trigger had a path filter but no branch filter, so any PR-branch push touching those paths (e.g. a dependabot rebase pulling in setup-deps changes) launched the full fresh buildcache matrix concurrently with CI. - restrict the push trigger to branches [dev, master] - frees runners for CI; the cache still refreshes via cron and on dev/master
This commit is contained in:
committed by
Dennis Klein
parent
14be1ce368
commit
1186bda040
1
.github/workflows/buildcache.yml
vendored
1
.github/workflows/buildcache.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
schedule:
|
||||
- cron: '0 3 * * 0' # Weekly on Sunday at 3am UTC
|
||||
push:
|
||||
branches: [dev, master]
|
||||
paths:
|
||||
- 'test/ci/spack-*.yaml'
|
||||
- '.github/workflows/buildcache.yml'
|
||||
|
||||
Reference in New Issue
Block a user