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:
Dennis Klein
2026-05-21 15:51:18 +02:00
committed by Dennis Klein
parent 14be1ce368
commit 1186bda040

View File

@@ -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'