FreeTube/.github/workflows/label-pr.yml
efb4f5ff-1298-471a-8973-3d47447115dc a45bdb259e
Dont label draft pull requests (#3166)
* Update label-pr.yml

* Update label-pr.yml
2023-02-08 23:16:33 +01:00

17 lines
365 B
YAML

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