actions-marketplace-validations/Commit and push it to a protected branch
Add files, commit and push the commit to a protected branch by Github hooks using Github API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The repository's name. | yes | — |
| create_tag | If the action should create a tag version. | no | false |
| branch_name | The repository's branch name. By default, it's 'main'. | no | main |
| tag_version | Tag version if `create_tag` is specified. | no | — |
| github_token | Github's secret token to use on requests to the Github API. | yes | — |
| commit_message | The message to be used in the commit. | yes | — |
| files_to_commit | Path of files to commit (the files should be seperated with ','). Example: 'package.json,main.py'. | yes | — |
Outputs
no outputs