feat(inventory): make ubi9-ansible-runner CI gate merge-blocking - #71
Merged
Conversation
Add required_checks with the pre-commit context, which now reports on pull requests (first observed on the scaffold PR). Until this applies the lint gate is advisory: a red check does not block a merge. Only the pre-commit context is listed. Publish-style jobs that skip on PRs are deliberately excluded, since a never-reporting required context would deadlock every merge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
required_checksto theubi9-ansible-runnerinventory entry so the lint suite becomes merge-blocking.Why now: the repo was created with no
required_status_checkson its Pull Request Gate ruleset, so CI has been advisory — a redpre-commitcheck could not stop a merge. Required contexts can only name checks that already report, andpre-commitfirst reported on the scaffold PR, so this is now safe to add.Scope: exactly one context,
pre-commit. Publish-style jobs that skip on PRs are deliberately excluded — a required context that never reports would deadlock every merge (the base-micro precedent).Apply: push-to-main is plan-only; this takes effect on the
terraform-deploydispatch withapply=true. Plan should show only the ruleset change for this one repo.🤖 Generated with Claude Code