Dont label draft pull requests (#3166)

* Update label-pr.yml

* Update label-pr.yml
This commit is contained in:
efb4f5ff-1298-471a-8973-3d47447115dc 2023-02-08 22:16:33 +00:00 committed by GitHub
parent 36c42f06bf
commit a45bdb259e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
name: "Pull Request Labeler"
on:
pull_request_target:
types: [opened, reopened]
types: [opened, reopened, ready_for_review]
jobs:
triage:
@ -9,6 +9,7 @@ jobs:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/labeler@v4
with: