From a790753709a7d2c480434dc60f7ec755aab19c8f Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Fri, 8 Nov 2019 11:47:20 +0100 Subject: [PATCH] docs --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 37e336b3..a187bc15 100644 --- a/README.md +++ b/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