Skip to content

ci(release): look past auto-changelog commits in the green-commit check - #6372

Merged
leaanthony merged 1 commit into
masterfrom
ci/green-check-skip-changelog
Oct 26, 2026
Merged

leaanthony merged 1 commit into
masterfrom
ci/green-check-skip-changelog

Conversation

@taliesin-ai

Copy link
Copy Markdown
Collaborator

Found in today's nightly dry run (run 40398097782). It warned:

master HEAD 2a568f3 has no green required checks; this nightly is unverified.

2a568f3f5 is the auto-changelog commit for #6366. Every merge to master is followed by one of these, and they run no CI, so as things stand almost every nightly would carry this warning even though the merged PR passed.

Change (.github/scripts/find-green-commit.sh)

  • --check (used by the nightly) walks back over release-bookkeeping commits and judges the newest real change. Bookkeeping commits are auto-changelog entries, version bumps, runtime publishes and [skip ci] commits. It still fails if that change's required checks are missing or not passing.
  • The weekly scan uses the same is_bookkeeping list, so auto-changelog commits are now skipped explicitly; before, they were only rejected after an API lookup. The selection result is unchanged.

Tested against real master commits

Input Before After
--check 2a568f3f5 (auto-changelog for #6366) fail: no check-runs pass, via #6366's merge 6a740e59c
--check 6a740e59c (#6366 merge) pass pass
--check 7b11001b9 (auto-changelog for #6363, the v3.0.0 tag) fail pass
--check 2a568f3f5 with REQUIRED_CHECKS="No Such Check" fail fail: reports the missing check
weekly selection 6a740e59c 6a740e59c, skipping the changelog commit without an API call

bash -n passes. The release workflow is still disabled; the schedule gets enabled after this merges.

🤖 Generated with Claude Code

Every merge to master is followed by an "chore(changelog): auto-add entry"
commit, which runs no CI. The nightly checked only master HEAD, so it
warned "no green required checks; this nightly is unverified" on almost
every run, even when the merged PR passed.

--check now walks back over release-bookkeeping commits (auto-changelog,
version bumps, runtime publishes, [skip ci]) and judges the newest real
change. The weekly scan uses the same list and now skips auto-changelog
commits explicitly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@leaanthony
leaanthony merged commit d2ac69f into master Oct 26, 2026
7 of 9 checks passed
@leaanthony
leaanthony deleted the ci/green-check-skip-changelog branch October 26, 2026 20:52
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.

2 participants