GitHub Action
Create Commit
v0.1.0
Latest version
Commit and push files to a repository
Target branch files will be committed to. Defaults to the checked out branch.
A newline-delimited list of files to delete in this commit. Files that are not on the target branch are logged and ignored.
Required: A newline-delimited list of files add or modify in this commit. Files listed that are not modified will no appear in the commit.
Commit message. Default:
committed files
created [ list of created files ]
modified [ list of modified files ]
deleted [ list of deleted files ]
A text file containing the commit message. Fails if file does not exist.
The repository to commit files to. Must be formatted as 'OWNER/REPOSITORY'.
Defaults to env.GITHUB_REPOSITORY
.
The token used to interact with the Github API. Defaults to env.GITHUB_TOKEN
jobs:
run:
steps:
- uses: wranders/commit-action@v0
with:
message: Update README
files: |
README.md