15 lines
437 B
YAML
15 lines
437 B
YAML
|
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:%20ready%20to%20merge"
|
||
|
REMOVE_LABEL: "status:%20needs%20review"
|