Skip to content

sogoagain/check-opened-pr-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Check opened PR action

check-opened-pr-action status

Check that the commit that triggered the workflow run exists as an open PR.

Inputs

github-token

Required A token to authenticate on behalf of the GitHub App installed on your repository. This is functionally equivalent to the GITHUB_TOKEN secret. Default "github.token".

Outputs

exists

true if the commit that triggered the workflow run exists as opened PR, false otherwise.

Example usage

uses: actions/check-opened-pr-action@v0.1

See detailed usage