Skip to content

Commit a790753

Browse files
committed
docs
1 parent a49b41b commit a790753

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
# find-pull-request-action
1+
# approve-pull-request-action
22

3-
A GitHub Action for finding pull requests.
3+
A GitHub Action for approving pull requests.
44

55
## Usage
66

77
```yaml
88
steps:
9-
- uses: juliangruber/find-pull-request-action@master
10-
id: find-pull-request
9+
- uses: juliangruber/approve-pull-request-action@master
1110
with:
1211
github-token: ${{ secrets.GITHUB_TOKEN }}
13-
branch: my-branch-name
14-
- run: echo "Your Pull Request has number ${number}"
15-
if: success() && steps.find-pull-request.outputs.number
16-
env:
17-
number: ${{ steps.find-pull-request.outputs.number }}
12+
number: 1
1813
```
1914
20-
Currently this will find a single open PR based on given `branch` input. For more options please open an issue.
21-
2215
## License
2316
2417
MIT

0 commit comments

Comments
 (0)