Skip to content

Label approved pull requests #1481

Label approved pull requests

Label approved pull requests #1481

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: abinoda/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'