Browse Source

Add GitHub action to label approved PRs (#1638)

pull/1643/head
Sebastián Ramírez 5 years ago
committed by GitHub
parent
commit
ca4cf7cc70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .github/workflows/pr-approvals.yml

14
.github/workflows/pr-approvals.yml

@ -0,0 +1,14 @@
name: Label approved pull requests
on: pull_request_review
jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/[email protected]
env:
APPROVALS: "2"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "approved-2"
REMOVE_LABEL: "awaiting%20review"
Loading…
Cancel
Save