casperwa/Push to Status Check-Protected Branches

Push local workflow commit(s) to protected branches with required status checks.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenToken for the repo.yes
branchTarget branch for the push. Mutually exclusive with "ref". Example: "main".no""
refTarget ref for the push. Mutually exclusive with "branch". Example: "refs/heads/main".no""
forceDetermines if --force is used.nofalse
tagsDetermines if --tags is used.nofalse
intervalTime interval (in seconds) between each new check, when waiting for status checks to completeno30
timeoutTime (in minutes) of how long the action should run before timing out, waiting for status checks to completeno15
pre_sleepTime (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 upno5
post_sleepTime (in seconds) the action should wait after it has finished 'waiting' for all checks to finish.no5
unprotect_reviewsMomentarily remove pull request review protection from target branchnofalse
debugSet `set -x` in `entrypoint.sh` when running the action. This is for debugging the action.nofalse
pathA path to the working directory of the action. This should be relative to the $GITHUB_WORKSPACE.no.
gh_rest_api_base_urlThe 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.nohttps://api.github.com
acceptable_conclusionsA string listing acceptable statuses as comma-separated entries with no spaces. If any of these conclusions are present, the action will not fail.nosuccess,skipped
fail_fastIf 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.nofalse
sleepDEPRECATED! 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 upno""

no outputs