Skip to content

rachmari/find-pull-request-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
      github-token: ${{ secrets.GITHUB_TOKEN }}
      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

About

A GitHub Action for finding pull requests.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%