Skip to content

ci: skip-shim so workflow/docs-only PRs satisfy required checks - #47

Merged
BuckG71 merged 2 commits into
mainfrom
ci/skip-shim-required-checks
Jul 27, 2026
Merged

BuckG71 merged 2 commits into
mainfrom
ci/skip-shim-required-checks

Conversation

@BuckG71

@BuckG71 BuckG71 commented Jul 27, 2026

Copy link
Copy Markdown
Owner

What

Adds .github/workflows/ci-skip.yml — a companion to ci.yml that unblocks the required-check deadlock on workflow-/docs-only PRs.

Why

ci.yml has a paths: filter, so its 12 required jobs don't run when a PR touches only non-code paths (workflow config, most docs). Branch protection still requires those jobs, so such PRs sit at "Expected — waiting for status to be reported" forever and can only merge via admin bypass. Just hit this on #45 (codeql-action pins); it also affects docs-only PRs (#39/#40) and future Dependabot workflow bumps (#42/#44).

How

The shim triggers on the complement path set (paths-ignore = ci.yml's paths) and emits check runs with the same required job names (mirrored character-for-character, incl. the · and ), each trivially successful. Branch protection matches required checks by name, so a workflow-/docs-only PR is now satisfied without a bypass.

Self-bootstrapping: this PR touches only .github/workflows/ci-skip.yml, so the shim runs on its own PR — the 12 checks should report green here, no bypass needed to merge it.

Caveat

A mixed PR (touches both code and non-code paths) triggers the real ci.yml (real jobs run); keep code and workflow-config changes in separate PRs so the real signal stays unambiguous. Job names must be kept in sync with ci.yml.

🤖 Generated with Claude Code

BuckG71 and others added 2 commits July 27, 2026 09:20
ci.yml has a paths filter, so its required jobs don't run on PRs that
touch only non-code paths (workflow config, most docs). Branch protection
still requires those jobs, so such PRs deadlock as 'Expected — waiting for
status' and need an admin bypass to merge (e.g. #45).

This companion workflow triggers on the complement path set (paths-ignore
= ci.yml's paths) and emits check runs with the same required job names,
trivially successful — so workflow-/docs-only PRs are mergeable without a
bypass. Job names mirror ci.yml exactly and must be kept in sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PRQ6JeWxpD9zrYcPz6VFTS
@BuckG71
BuckG71 merged commit 980c515 into main Jul 27, 2026
15 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