Repository navigation
feat(github): require a required gate check by default - #294
Conversation
A PublicRepo with neither githubChecks nor requiredChecks now requires one check named `required`, a gate job at the end of the repository's CI that fails when any job it needs did. The repository decides what blocks a merge by editing that job's needs, with no change to this stack. This mirrors the default in pulumi-components. An empty list now requires nothing and omits the rule. terraform2crd, the one repository that requires no checks, sets githubChecks: [] so it keeps requiring nothing. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMdNARLiCQSWqzHj8WmhQu
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughRequired status checks now use ChangesRequired GitHub checks
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Merge Risk: ⚪ Minimal · up to The change makes a 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🍹 The Update (preview) for UnstoppableMango/unmango-github/prod (at e0cdc2b) was successful. Resource Changes Name Type Operation
+ RELEASE_APP_PRIVATE_KEY github:index/actionsOrganizationSecret:ActionsOrganizationSecret create
+ RELEASE_APP_CLIENT_ID github:index/actionsOrganizationVariable:ActionsOrganizationVariable create
|
Requested by Erik · project thread
Before: a
PublicRepowith neithergithubChecksnorrequiredChecksrequired nothing, and an empty list sent a rule with no checks in it.After: such a repository requires one check named
required, a gate job at the end of its CI whoseneedsdecide what blocks a merge. An empty list requires nothing and omits the rule. terraform2crd, the only repository here with no checks, setsgithubChecks: []so it keeps requiring nothing. This mirrors UnstoppableMango/pulumi-components's new default; folding this local component into pulumi-components is a separate, larger change.Expected preview: no changes. Every other repository lists its own checks, and terraform2crd's opt-out reproduces what it has today. If
pulumi previewshows any ruleset diff, this PR is wrong.How: when
requiredChecksis absent,githubChecksfalls back to['required'], andgetRequiredStatusChecksresolves toundefinedfor an empty list.requiredChecksnow wins overgithubCheckswhen both are given; no repository sets both. Checked locally withtsc --noEmitandeslint .; dprint couldn't download its plugins here, so CI's dprint step is the format check.🤖 Generated with Claude Code
https://claude.ai/code/session_01KMdNARLiCQSWqzHj8WmhQu
Generated by Claude Code
Summary by CodeRabbit
terraform2crdrepository is now configured to require no status checks.