casperwa/Push to Status Check-Protected Branches
Push local workflow commit(s) to protected branches with required status checks.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token for the repo. | yes | — |
| branch | Target branch for the push. Mutually exclusive with "ref". Example: "main". | no | "" |
| ref | Target ref for the push. Mutually exclusive with "branch". Example: "refs/heads/main". | no | "" |
| force | Determines if --force is used. | no | false |
| tags | Determines if --tags is used. | no | false |
| interval | Time interval (in seconds) between each new check, when waiting for status checks to complete | no | 30 |
| timeout | Time (in minutes) of how long the action should run before timing out, waiting for status checks to complete | no | 15 |
| pre_sleep | Time (in seconds) the action should wait until it will start 'waiting' and check the list of running actions/checks. This should be an appropriate number to let the checks start up | no | 5 |
| post_sleep | Time (in seconds) the action should wait after it has finished 'waiting' for all checks to finish. | no | 5 |
| unprotect_reviews | Momentarily remove pull request review protection from target branch | no | false |
| debug | Set `set -x` in `entrypoint.sh` when running the action. This is for debugging the action. | no | false |
| path | A path to the working directory of the action. This should be relative to the $GITHUB_WORKSPACE. | no | . |
| gh_rest_api_base_url | The base URL for the GitHub REST API. This is useful for GitHub Enterprise users. Note, `/api/v3` will be appended to this value if it does not already exist. See the note here: https://docs.github.com/en/enterprise-server@3.10/rest/quickstart?apiVersion=2022-11-28&tool=curl#using-curl-commands-in-github-actions. | no | https://api.github.com |
| acceptable_conclusions | A string listing acceptable statuses as comma-separated entries with no spaces. If any of these conclusions are present, the action will not fail. | no | success,skipped |
| fail_fast | If set to true, the action will fail as soon as a check fails. If set to false (default), the action will wait for all checks to complete before failing. | no | false |
| sleep | DEPRECATED! Use 'pre_sleep'. Time (in seconds) the action should wait until it will start 'waiting' and check the list of running actions/checks. This should be an appropriate number to let the checks start up | no | "" |
Outputs
no outputs