ci: assigner: Skip assignment for draft pull requests
This commit updates the pull request assigner workflow to skip the reviewers, assignee and labels assignment for the pull requests that are marked as draft. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
3009b8d9e6
commit
1c8bdb8d73
6
.github/workflows/assigner.yml
vendored
6
.github/workflows/assigner.yml
vendored
|
@ -2,6 +2,11 @@ name: Pull Request Assigner
|
|||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
- ready_for_review
|
||||
branches:
|
||||
- main
|
||||
- v*-branch
|
||||
|
@ -9,6 +14,7 @@ on:
|
|||
jobs:
|
||||
assignment:
|
||||
name: Pull Request Assignment
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue