mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: don't request review for PRs in draft or WIP (#50539)
This commit is contained in:
committed by
GitHub
parent
0dabcfdec4
commit
8f11366f50
7
.github/workflows/pr-triage-automation.yml
vendored
7
.github/workflows/pr-triage-automation.yml
vendored
@@ -16,10 +16,13 @@ jobs:
|
||||
set-needs-review:
|
||||
name: Set status to Needs Review
|
||||
if: >-
|
||||
(github.event_name == 'pull_request_target' && github.event.action == 'synchronize')
|
||||
|| (github.event_name == 'pull_request_target' && github.event.action == 'review_requested')
|
||||
(github.event_name == 'pull_request_target'
|
||||
&& github.event.pull_request.draft != true
|
||||
&& !contains(github.event.pull_request.labels.*.name, 'wip ⚒')
|
||||
&& (github.event.action == 'synchronize' || github.event.action == 'review_requested'))
|
||||
|| (github.event_name == 'issue_comment'
|
||||
&& github.event.issue.pull_request
|
||||
&& !contains(github.event.issue.labels.*.name, 'wip ⚒')
|
||||
&& github.event.comment.user.login == github.event.issue.user.login)
|
||||
runs-on: ubuntu-slim
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user