creadi/Return head ref from commit hash
Find current head ref when using a deployment_status as a workflow trigger
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. | no | ${{ github.token }} |
| sha | SHA to get HEAD REF for. | no | ${{ github.event.pull_request.head.sha || github.sha }} |
Outputs
| name | description |
|---|---|
| head_ref | head ref from PR associated with the deployment |