ci: let Claude review approve Dependabot PRs + skip SonarCloud on bot PRs - #222
Merged
Conversation
… PRs
main requires 1 approving review (only Build + Unit Tests are required checks). The Claude review action errored on Dependabot PRs ('non-human actor: dependabot'), so bumps never got an approval and stayed BLOCKED. Add allowed_bots: dependabot[bot] so the bot reviews and approves bot PRs, satisfying the required review.
Also guard the SonarCloud job with if: github.actor != 'dependabot[bot]' — Dependabot PRs run without SONAR_TOKEN so the scan fails; SonarCloud is non-required, so this just removes the red X.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
thomasluizon
force-pushed
the
fix/dependabot-ci-guards
branch
from
June 23, 2026 19:04
81e7e69 to
ede2b94
Compare
|
thomasluizon
added a commit
that referenced
this pull request
Jun 26, 2026
…ggestion (#222) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
thomasluizon
added a commit
that referenced
this pull request
Jun 26, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
thomasluizon
added a commit
that referenced
this pull request
Jun 26, 2026
…onflicts (#222) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
thomasluizon
added a commit
that referenced
this pull request
Jun 26, 2026
* feat(api): AI reschedule suggestion for overdue habits (#222) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(api): add query validator + lowercase cache key for reschedule suggestion (#222) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(api): resolve reschedule userToday via IUserDateService (#222) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <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.



Problem
mainrequires 1 approving review (onlyBuild+Unit Testsare required checks). On Dependabot PRs the Claude review action errors —Workflow initiated by non-human actor: dependabot— so the bump never gets an approving review and stays BLOCKED. SonarCloud also fails (Dependabot PRs have noSONAR_TOKEN), though it's non-required.Fix
claude-review.yml— addallowed_bots: "dependabot[bot]"so the bot reviews and approves Dependabot PRs, satisfying the required review.sonarcloud.yml— skip the scan ondependabot[bot](it can't read the token); non-required, so this only removes the red X.Note on merging this PR
Because this PR edits
claude-review.yml, the Claude action self-skips on it (GitHub requires the review workflow to match the default branch), so it can't self-approve. It needs an admin merge (enforce_admins is off). Once onmain, future Dependabot PRs that don't touchclaude-review.ymlare auto-approved by the bot.Paired with the identical fix in orbit-ui-mobile.
🤖 Generated with Claude Code