step-security/set-commit-status
Updates the status of the given commit
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Authentication token | no | ${{ github.token }} |
| status | Commit status (one of "error", "failure", "pending", "success") | no | pending |
| repo | Repository to operate on (defaults to the current repository) | no | — |
| allowForks | Whether to allow to set commit status if the request comes from a forked repository. Defaults to `false` because the GITHUB_TOKEN for a forked repository usually does not have necessary permissions to update the commit status. This only affects pull requests. | no | false |
| sha | The SHA hash of the commit to update. It can be determined automatically for pushes and pull requests, but needs to be provided for other events. | no | "" |
| targetUrl | The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. | no | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
| description | A short description of the status. | no | — |
| context | A string label to differentiate this status from the status of other systems. | no | ${{ github.workflow }} |
Outputs
no outputs