wranders/Create Commit
Commit and push files to a repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | Target branch files will be commited to. Defaults to the checked out branch. | — | — |
| delete_files | A newline-delimited list of files to delete in this commit. Files that are not on the target branch are logged and ignored. | — | — |
| files | A newline-delimited list of files add or modify in this commit. Files listed that are not modified will no appear in the commit. | yes | — |
| message | Commit message. Default: committed files created [ list of created files ] modified [ list of modified files ] deleted [ list of deleted files ] | — | — |
| message_file | A text file containing the commit message. Fails if file does not exist. | — | — |
| repository | The repository to commit files to. Must be formatted as 'OWNER/REPOSITORY'. Defaults to 'env.GITHUB_REPOSITORY'. | — | — |
| token | A token is used to interact wit the Github API. Defaults to 'env.GITHUB_TOKEN'. | — | — |
Outputs
no outputs