You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workflow parser never reads GitHub Actions path filters (looks for paths on the job, not under on:) #177
pathGlobs is missing. buildGenericTaskRegistry (src/research/baseline/registry.ts:10) then gives the job its category defaults (src/**/*.test.*, tests/**/*, …) instead of the workflow's own api/** filter.
Cause
parseWorkflow (src/research/baseline/workflow-parser.ts:57-58) looks for path filters on the job:
GitHub Actions has no job-level paths, paths-ignore or on. Path filters live under the workflow's on.<push|pull_request|pull_request_target>.paths / paths-ignore. So pathGlobs and pathIgnoreGlobs are undefined for every real workflow, and the registry's task.pathGlobs branch never runs.
What you expected
The workflow-level filters are read: pathGlobs = ["api/**"] here.
A workflow also runs for any change when one of its triggers has no paths filter, so in that case it should keep pathGlobs unset. Negated (!) patterns and the glob characters the planner's matcher doesn't handle should also leave it unset (see the matcher issue filed alongside this one), so a filter is never misread.
Activity
fix(research): read GitHub Actions path filters from the workflow's o…