chore: improve contributing guidelines #794
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add labels to pull request based on checklist | |
on: | |
pull_request: | |
types: [ opened, edited, synchronize, labeled, unlabeled ] | |
branches-ignore: | |
- 'master' | |
- 'update_dependencies' | |
permissions: write-all | |
jobs: | |
add-labels: | |
runs-on: ubuntu-latest | |
name: Label PR based on checklist | |
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Check if checklist items are completed | |
uses: Codeinwp/gha-pr-check-helper@master | |
with: | |
token: ${{ secrets.BOT_TOKEN }} | |
requireChecklist: true | |
onlyCheckBody: true | |
completedLabel: "pr-checklist-complete" | |
incompleteLabel: "pr-checklist-incomplete" | |
skipLabel: "pr-checklist-skip" |