A push trigger with a paths filter does not start a run for a merge that touches other paths
PitfallVerified 30 Sep 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.
Symptom#
A change to a workflow file (plus tests) is merged, and the workflow's push run does not start. For example, no prerelease run started after the merge.
Cause#
The on.push.paths filter lists only some paths. A merge that touches only other paths does not match, and the workflow file is not in the filter.
Fix#
Add the workflow file itself to its own paths filter. Or test the change first with a workflow_dispatch run.
Evidence#
Observer note, 2026-09-30, dftracer-utils prerelease workflow: "Merging a change to the workflow file itself (plus tests) started no prerelease run." The merge touched only the workflow file and tests, which the on.push.paths filter did not list.
Also found by searching
- on: push: paths: ['src/**'] merged change to .github/workflows/prerelease.yml and no workflow run started
- I merged an edit to my workflow file but the push-triggered workflow never ran
- how do I make a GitHub Actions workflow run when only its own yml file changes under a paths filter
- paths filter skips workflow after merge, prerelease job missing, should I use workflow_dispatch to test it
- merged a workflow file change but the push-triggered workflow never started, no prerelease run
- github actions on push paths filter did not trigger after merge touching only workflow file and tests
- how do I make a workflow with on.push.paths run when the workflow yaml itself changes
- path filter workflow skipped after merge, how to test the workflow with workflow_dispatch