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
perf(ci): skip Go jobs for docs-only changes (#727)
## Summary
- Add shared detection script (`.github/detect-go-changes.bash`) that
uses the GitHub API to classify PR/push file changes as Go-related or
docs-only
- Skip Go-specific jobs (build, test, benchmarks, nix build, linters,
security scans) when only docs/website paths change
- Add gate jobs (`CI / Result`, `Lint / Result`, `Security / Result`)
per workflow that roll up all job results into a single required check
- Always-run jobs (Docs Build, Pre-commit, Secret Scan) are unaffected
- Detection is intentionally conservative: unknown/new file types
trigger Go CI
**Post-merge action**: Update the repo ruleset (ID 12645641) to require
only the 3 gate jobs instead of the current 13 individual check names.
Remove the redundant `CodeQL` (integration 57789) entry that duplicates
`CodeQL (Go)`.
closes#726
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments