Skip to content

Governance v1.2.1: apply_rulesets.sh refuses premature required-checks - #14

Merged
enricopiovesan merged 1 commit into
bootstrap-governancefrom
governance-v1.2.1
Jul 28, 2026
Merged

Governance v1.2.1: apply_rulesets.sh refuses premature required-checks#14
enricopiovesan merged 1 commit into
bootstrap-governancefrom
governance-v1.2.1

Conversation

@enricopiovesan

Copy link
Copy Markdown
Contributor

Summary

apply_rulesets.sh now checks .github/workflows/cla.yml exists on a repo's default branch before applying the required-checks ruleset, and skips with a clear message otherwise. This prevents the exact deadlock that just blocked claude-skills' governance rollout PR: cla / cla is a pull_request_target check, which only executes using the workflow definition already on the base branch — requiring it before cla.yml lands there makes it permanently unsatisfiable. Runbook onboarding steps updated to state the merge-then-ruleset ordering explicitly.

Governing Spec

Governance repo — tooling/process fix, no consuming-repo governed paths.

Project Item

Governance release v1.2.1 — self-correction of a rollout sequencing bug.

Definition of Done

  • Script skips (not errors) the required-checks ruleset when cla.yml is absent
  • Runbook states the correct order for retrofitting an existing repo

Validation

  • `cla / cla` and `baseline / governance-baseline` green on this PR

🤖 Generated with Claude Code

Prevents the cla.yml-not-on-base-branch deadlock that blocked
claude-skills' governance rollout PR.
@enricopiovesan
enricopiovesan merged commit 4ccb557 into bootstrap-governance Jul 28, 2026
2 checks passed
@enricopiovesan
enricopiovesan deleted the governance-v1.2.1 branch July 28, 2026 03:18
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