speareducation/Find Current Pull Request
Find a PR associated with the current commit. Only if the current commit is the HEAD commit of an open PR.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token used to create an authenticated client. Defaults to github provided token. | — | ${{ github.token }} |
| sha | Sha to get PR for. Defaults to current sha. | — | ${{ github.sha }} |
Outputs
| name | description |
|---|---|
| pr | The PR if one was found. (e.g. '373') |
| number | The PR's number if the PR was found (e.g. '373') |
| title | The PR's title if the PR was found |
| body | The PR's body if the PR was found |