Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 8, 2019
1 parent a49b41b commit a790753
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions README.md
@@ -1,24 +1,17 @@
# find-pull-request-action
# approve-pull-request-action

A GitHub Action for finding pull requests.
A GitHub Action for approving pull requests.

## Usage

```yaml
steps:
- uses: juliangruber/find-pull-request-action@master
id: find-pull-request
- uses: juliangruber/approve-pull-request-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: my-branch-name
- run: echo "Your Pull Request has number ${number}"
if: success() && steps.find-pull-request.outputs.number
env:
number: ${{ steps.find-pull-request.outputs.number }}
number: 1
```

Currently this will find a single open PR based on given `branch` input. For more options please open an issue.

## License

MIT

0 comments on commit a790753

Please sign in to comment.