Skip to content

Commit

Permalink
Update approval-workflow.yml
Browse files Browse the repository at this point in the history
added a community created action to tackle pull request review
  • Loading branch information
prakash-amit authored Apr 21, 2021
1 parent dc51e2b commit 3d20aeb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/approval-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@ name: Team awesome's approval workflow
on: pull_request_review
jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "2"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "approved"
REMOVE_LABEL: "awaiting%20review"

0 comments on commit 3d20aeb

Please sign in to comment.