mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
ci: Only run claude-review automatically on PRs to main
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
da580dc161
commit
516a7b2baa
1
.github/workflows/claude-review.yml
vendored
1
.github/workflows/claude-review.yml
vendored
@@ -36,6 +36,7 @@ jobs:
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'claude-review' && github.event.sender.login != 'github-actions[bot]' ||
|
||||
github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'claude-review') ||
|
||||
github.event.action == 'opened' &&
|
||||
github.event.pull_request.base.ref == 'main' &&
|
||||
contains(fromJSON('["MEMBER","OWNER","COLLABORATOR"]'), github.event.pull_request.author_association) &&
|
||||
github.event.pull_request.user.login != 'YHNdnzj')) ||
|
||||
(github.event_name == 'issue_comment' &&
|
||||
|
||||
Reference in New Issue
Block a user