woocommerce/plugins/woocommerce-blocks/.github/workflows/approved-with-labels.yml

15 lines
431 B
YAML
Raw Normal View History

on: pull_request_review
name: Add Labels to Approved Pull Requests
jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "status: ready to merge"
REMOVE_LABEL: "status:%20needs%20review"