You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Find Pull Request
v1.7.1
A GitHub Action for finding pull requests.
steps:
- name: Find Pull Request
uses: juliangruber/find-pull-request-action@v1
id: find-pull-request
with:
branch: my-branch-name
- run: echo "Pull Request ${number} (${sha})"
env:
number: ${{ steps.find-pull-request.outputs.number }}
sha: ${{ steps.find-pull-request.outputs.head-sha }}
Currently this will find a single open PR based on given branch
input. For more options please open an issue.
- approve-pull-request-action — Approve a Pull Request
- merge-pull-request-action — Merge a Pull Request
- octokit-action — Generic Octokit.js Action
MIT