ddeath/pull-request-info-action

Github Action which returns Pull Request Information based on commit_sha. This is for scenarios when you need that information on main branch after PR is merged

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenThe repository token, i.e. secrets.GITHUB_TOKENyes
commit_shaCommit Sha for which you want to lookup PR information. If not provided github.sha will be usedno
only_mergedIf true, discards all PRs which are not mergedtrue
target_branchThis will keep only PRs which were / will be merged to targetBranchmain
fail_on_missing_prAction will fail if no associated PRs which also match filtering option is foundtrue
return_full_informationAction will return full rest response from Github api if this is set to true. Otherwise custom processed fields will be returnedfalse
namedescription
pullRequestsList of PullRequests referencing specified commit and filter. Response has format of Github Api Rest response if return_full_information is set to true: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-pull-requests-associated-with-a-commit