Skip to content

Improved purge and reset button #455

Improved purge and reset button

Improved purge and reset button #455

Workflow file for this run

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 && github.actor != 'dependabot[bot]'
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"