Skip to content

Add condition to skip PRs authored by bots#847

Merged
Adamtaranto merged 3 commits into
mainfrom
Adamtaranto-patch-1
May 2, 2026
Merged

Add condition to skip PRs authored by bots#847
Adamtaranto merged 3 commits into
mainfrom
Adamtaranto-patch-1

Conversation

@Adamtaranto

Copy link
Copy Markdown
Collaborator

Claude code review will be skipped on any PR opened by a bot.

Currently CCR is called but refuses to process any PRs opened by bots i.e Dependabot, creates error.

I don't think this should affect PRs opened by copilot or other agents. If it does then condition can be set to ignore dependabot PRs specifically.

Claude code review will be skipped on any PR opened by a bot.

Currently CCR is called but refuses to process any PRs opened by bots i.e Dependabot, creates error.

I don't think this should affect PRs opened by copilot or other agents. If it does then condition can be set to ignore dependabot PRs specifically.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Claude Code Review GitHub Actions workflow to avoid running on PRs authored by bot accounts, preventing Claude action failures on bot-opened PRs.

Changes:

  • Add a job-level if: condition to skip PRs where github.event.pull_request.user.type is Bot.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/claude-code-review.yml Outdated
Comment thread .github/workflows/claude-code-review.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Adamtaranto Adamtaranto removed the request for review from tanghaibao May 2, 2026 04:23
@Adamtaranto Adamtaranto merged commit bab499f into main May 2, 2026
6 of 7 checks passed
@Adamtaranto Adamtaranto deleted the Adamtaranto-patch-1 branch May 2, 2026 04:25
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.

3 participants