Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 1477396

Browse files
committed
README: update
1 parent b5117da commit 1477396

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ Optionally one can provide a `prefix` or `suffix` strings that would be appended
77

88
```yaml
99
- name: Delete PRs head branches
10-
uses: dawidd6/action-delete-branch@v2
10+
uses: dawidd6/action-delete-branch@v3
1111
with:
12-
github_token: ${{ secrets.GITHUB_TOKEN }}
13-
numbers: 13,22,${{ github.event.pull_request.number }}
12+
github_token: ${{github.token}}
13+
numbers: 13,22,${{github.event.pull_request.number}}
1414
- name: Delete pr-* branches
15-
uses: dawidd6/action-delete-branch@v2
15+
uses: dawidd6/action-delete-branch@v3
1616
with:
17-
github_token: ${{ secrets.GITHUB_TOKEN }}
17+
github_token: ${{github.token}}
1818
branches: 13,22,33
19-
prefix: 'pr-'
19+
prefix: pr-
2020
- name: Delete branch
21-
uses: dawidd6/action-delete-branch@v2
21+
uses: dawidd6/action-delete-branch@v3
2222
with:
23-
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
github_token: ${{github.token}}
2424
branches: test
25-
suffix: '-done'
25+
suffix: -done
2626
```

0 commit comments

Comments
 (0)