Repository navigation
ci: a draft pull request runs its checks when it is marked ready (green) - #2
Merged
Merged
Conversation
The gate skips drafts, and pull_request's default types never fire on ready_for_review, so a draft marked ready ran nothing until its next push. ci.yml lists ready_for_review; check.py refuses a draft-guarded workflow without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V5E9o15BjmsWrwQY3Ajc6S
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.
Summary
ci.ymlskips draft pull requests.pull_request's default types (opened,synchronize,reopened) never fire when a draft is marked ready, so a draft marked ready ran no gate until its next push.ci.ymlnow listsready_for_reviewin itspull_requesttypes.scripts/check.pygainsdraft_trigger_problems: a workflow whose jobs skip drafts must listready_for_review. Three tests cover it.gate, and the reusable workflow and its inputs are unchanged.Architecture: go (2026-10-23).
Linked issue or spec
Minute-saving rules for workflows: drafts start nothing, and a draft marked ready runs once.
Checks
task gatepasses locally. Result (last lines of output):Added an entry to
log/devlog.md(date, what landed, numbers, still open).Tests added or updated for the change.
UI changes: not a UI change.
Public repositories: the diff contains no secrets, credentials, customer data, internal details or content from private repositories.
Generated by Claude Code