You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-10 13:01:01 +03:00
Merge pull request #23 from arduino/skip-drafts
Don't run "Manage PRs" workflow on draft PRs
This commit is contained in:
5
.github/workflows/manage-prs.yml
vendored
5
.github/workflows/manage-prs.yml
vendored
@ -22,7 +22,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
diff:
|
diff:
|
||||||
if: >
|
if: >
|
||||||
github.event_name == 'pull_request_target' ||
|
(
|
||||||
|
github.event_name == 'pull_request_target' &&
|
||||||
|
github.event.pull_request.draft == false
|
||||||
|
) ||
|
||||||
(
|
(
|
||||||
github.event_name == 'issue_comment' &&
|
github.event_name == 'issue_comment' &&
|
||||||
github.event.issue.pull_request != '' &&
|
github.event.issue.pull_request != '' &&
|
||||||
|
Reference in New Issue
Block a user