Skip to content

Commit 962f296

Browse files
authored
Create pr.yml
1 parent c776440 commit 962f296

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: pull_request_review
2+
name: Label approved pull requests
3+
jobs:
4+
labelWhenApproved:
5+
name: Label when approved
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Label when approved
9+
uses: pullreminders/label-when-approved-action@master
10+
env:
11+
APPROVALS: "1"
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
ADD_LABEL: "approved"
14+

0 commit comments

Comments
 (0)