File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474jobs :
7575 analyze :
7676 runs-on : ubuntu-latest
77- # Skip if already labeled
78- if : " !contains(github.event.pull_request.labels.*.name, 'skip-review')"
77+ # Skip if already labeled or opened by a bot account
78+ if : |
79+ \!contains(github.event.pull_request.labels.*.name, 'skip-review') &&
80+ github.event.pull_request.user.type == 'User' # Exclude bot-created PRs
7981
8082 permissions :
8183 contents : read
Original file line number Diff line number Diff line change 1818 name : Analyze PR for Skip-Review
1919 runs-on : ubuntu-latest
2020
21- # Skip if PR already has the skip-review label
22- if : " !contains(github.event.pull_request.labels.*.name, 'skip-review')"
21+ # Skip if PR already labeled or opened by a bot account
22+ if : |
23+ \!contains(github.event.pull_request.labels.*.name, 'skip-review') &&
24+ github.event.pull_request.user.type == 'User' # Exclude bot-created PRs
2325
2426 permissions :
2527 contents : read
You can’t perform that action at this time.
0 commit comments