Skip to content

ci: gate the heavy jobs on which paths changed - #199

Merged
JustMaris merged 1 commit into
mainfrom
ci/path-gated-jobs
Oct 17, 2026
Merged

JustMaris merged 1 commit into
mainfrom
ci/path-gated-jobs

Conversation

@JustMaris

Copy link
Copy Markdown
Member

Adds a changes job that diffs the PR against its base and sets two flags, then gates the heavy jobs on them. Skipped jobs count as passed in required-checks-passed, which still always runs, so the ruleset keeps working (a workflow-level paths filter would leave it never reporting).

Changed paths Runs
cmd/ internal/ data/ scripts/ go.mod go.sum codecov.yml mise.toml Go CI, coverage, 5-OS test matrix, govulncheck, site build, a11y
site/ docs/ only site build, a11y
README, CHANGELOG, release-please manifest, other workflows zizmor only
.github/workflows/ci.yml everything

zizmor always runs. Any failure computing the diff falls back to running everything. This PR edits ci.yml, so it runs the full set itself; the gating shows on the next PR. Checked with actionlint and zizmor, and the path regexes against sample file lists.

@JustMaris
JustMaris merged commit fa7e4f1 into main Oct 17, 2026
17 checks passed
@JustMaris
JustMaris deleted the ci/path-gated-jobs branch October 17, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant