2020-11-02 18:46:50 +00:00
|
|
|
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 }}
|
2020-11-02 20:41:22 +00:00
|
|
|
ADD_LABEL: "status: ready to merge"
|
2020-11-02 18:46:50 +00:00
|
|
|
REMOVE_LABEL: "status:%20needs%20review"
|