Skip to content

Commit 86b2ec4

Browse files
committed
Update README
1 parent 48108f6 commit 86b2ec4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ jobs:
1616
label_prs:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Filter for opened PRs
20-
uses: actions/bin/filter@master
2119
- name: Label PRs
22-
uses: ffittschen/pr-branch-labeler@master
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
if: github.event.action == 'opened' # Only run the action when the PR was first opened
21+
uses: ffittschen/pr-branch-labeler@v1
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
2524
```
2625
2726
## Configuration

0 commit comments

Comments
 (0)