Skip to content

Commit bab499f

Browse files
AdamtarantoCopilotCopilot
authored
Add condition to skip PRs authored by bots (#847)
* Add condition to skip PRs authored by bots 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. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix: skip dependabot[bot] by login instead of generic Bot type Agent-Logs-Url: https://github.com/tanghaibao/jcvi/sessions/27403c92-40c6-4504-93f1-e27fa1d7e6bf Co-authored-by: Adamtaranto <2160099+Adamtaranto@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Adamtaranto <2160099+Adamtaranto@users.noreply.github.com>
1 parent b5f0fcc commit bab499f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
# github.event.pull_request.user.login == 'new-developer' ||
1919
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
2020

21+
# Skip PRs authored by dependabot
22+
if: github.event.pull_request.user.login != 'dependabot[bot]'
23+
2124
runs-on: ubuntu-latest
2225
permissions:
2326
contents: read

0 commit comments

Comments
 (0)