freetube/.github/workflows/autoLabelPR.yaml

16 lines
566 B
YAML
Raw Normal View History

2022-04-10 21:17:36 +00:00
name: "Set PR Label"
on:
pull_request:
types: [opened, reopened]
jobs:
test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: Naturalclar/issue-action@v2.0.2
with:
title-or-body: "both"
parameters: '[ {"keywords": ["Important note", "Pull Request Type", "Related issue", "Dependent PR/issue", "Description", "Screenshots", "Testing", "Desktop", "Additional context"], "labels": ["PR: waiting for review"]}]'
github-token: "${{ secrets.GITHUB_TOKEN }}"