Skip to content

Fix CI skip for docs-only PRs#16

Merged
rickcrawford merged 1 commit intomainfrom
fix/ci-skip-docs-only-v2
Apr 12, 2026
Merged

Fix CI skip for docs-only PRs#16
rickcrawford merged 1 commit intomainfrom
fix/ci-skip-docs-only-v2

Conversation

@rickcrawford
Copy link
Copy Markdown
Contributor

Summary

  • Move path filtering from separate changes job to step-level if: conditions within build/analyze jobs
  • The build job always runs and reports a status, but skips expensive steps (go build, test, lint) when only docs changed
  • Fixes required check build being stuck at "Waiting for status to be reported" on docs-only PRs

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Move path filtering into each job as step-level `if:` conditions instead
of using separate jobs with job-level `if:`. When a job is skipped via
job-level `if:`, GitHub doesn't report a status for the required check
name, leaving it stuck at "Waiting for status to be reported." With
step-level conditions, the job always runs and reports success, but
skips the expensive build/test/lint steps for docs-only changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rickcrawford rickcrawford merged commit 49c22e7 into main Apr 12, 2026
5 checks passed
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