Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Find Pull Request

Actions
A GitHub Action for finding pull requests
v1.8.0
Star (26)

Tags

 (1)

find-pull-request-action

A GitHub Action for finding pull requests.

Usage

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.

Related

License

MIT

Find Pull Request is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A GitHub Action for finding pull requests
v1.8.0

Tags

 (1)

Find Pull Request is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.