Skip to content

Label approved pull requests #1440

Label approved pull requests

Label approved pull requests #1440

Workflow file for this run

on: pull_request_review
name: Label 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] Approved'
# Needs to be URL-encoded, see https://github.com/abinoda/label-when-approved-action/pull/3#discussion_r321882620
REMOVE_LABEL: '%5BStatus%5D%20Needs%20Review'