CI: run the push workflows on master only, not on tag pushes

on: push had a paths filter but no branch restriction, so a tag push
(a release's v<version> tag) re-ran forgetest-ci and fixture-ci on the
commit master had already tested - a tag push bypasses the paths
filter. branches: [master] scopes the push trigger to the branch;
pull_request and workflow_dispatch are unchanged.
This commit is contained in:
ScottW514
2026-09-15 20:21:44 -04:00
parent 7a9f655916
commit 147393322f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ name: fixture-ci
on:
push:
branches: [master]
paths:
- 'fixture/**'
- '.github/workflows/fixture-ci.yml'
+1
View File
@@ -20,6 +20,7 @@ name: forgetest-ci
on:
push:
branches: [master]
paths:
- 'forgetest/**'
- 'scripts/acceptance-gate.py'