powderlabs/Push to Protected Branches with Status Checks
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
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | A Github token with read and write access to actions, administration, checks, code, and pull requests | yes | — |
| branchToPushTo | Target branch for the push. Defaults to master if not specified. | no | master |
| timeoutSeconds | The amount of time (in seconds) this action will wait for the status checks to complete before timing out. Defaults to 300 seconds (5 minutes). | no | 300 |
| intervalSeconds | The amount of time (in seconds) this action will wait between each check of the status checks. Defaults to 30 seconds. | no | 30 |
| shouldCommit | Whether or not this action should commit the local changes before pushing. Defaults to false. All following inputs are not used when this is false. | no | false |
| commitMessage | The commit message to use when committing changes. Defaults to 'Automated commit from GitHub Actions' | no | Automated commit from GitHub Actions |
| commitArgs | Additional arguments to pass to the commit command. Recommend adding '-a' if the changes are on tracked files and not staged, '--no-verify' if you have any any pre-commit hooks, and '--allow-empty' if you want to commit even if there are no changes. | no | — |
| authorName | The name of the author to use when committing changes. Defaults to the name of the user who created the token. | no | — |
| authorEmail | The email of the author to use when committing changes. Defaults to `${actor}@users.noreply.github.com` | no | — |
| commitAuthorName | The name of the author to use when committing changes. Defaults to the `authorName` | no | — |
| commitAuthorEmail | The email of the author to use when committing changes. Defaults to the `authorEmail` | no | — |
Outputs
no outputs