suzuki-shunsuke/Create Commit By GitHub API

Commit changes by GitHub API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGitHub Access Token contents:write - Push commits no
default_github_tokenA default GitHub Access Token. This is used if `github_token` and `app_id`/`app_private_key` are not specified. contents:write - Push commits no${{ github.token }}
app_idGitHub App ID no
app_private_keyGitHub App Private Key no
commit_messageCommit message. If empty, defaults to "empty commit" when empty_commit is true, otherwise "commit changes". no
branchA Pushed branch. By default, GITHUB_HEAD_REF or GITHUB_REF_NAME is used. no
parent_branchIf a branch is newly created, the parent branch is used as the base branch. By default, the default branch is used. no
repositoryA Pushed repository. By default, GITHUB_REPOSITORY is used. no
root_dirThe Git root directory for the files to commit. no
filesFiles to commit. Unchanged files are ignored. To specify multiple files, separate them with a newline. By default, all modified and untracked files are committed. git ls-files --modified --others --exclude-standard no
list_files_by_gitIf true, the action lists files by git ls-files. If false, the action lists files by the files input. notrue
workflowHow to handle changed workflow files. This input is used if `app_id` and `app_private_key` are specified. To commit workflow files, the permission `workflows:write` is required. The following values are available: 1. allow - Grant `workflows:write` permission when creating an access token 2. deny - Fail if workflow files are changed 3. ignore - Ignore workflow files noallow
fail_on_self_pushIf true (default), the action fails when it pushes a commit to the same repo/branch as the current workflow run. Set to false to avoid failing and check outputs instead. notrue
empty_commitIf true, the action creates an empty commit when no files are changed. nofalse
force_pushIf true, the action pushes a commit forcibly. nofalse
orphanIf true, the action creates an orphan branch. nofalse
use_base_treeIf true, the action uses a base tree. notrue
namedescription
shaCommit SHA
pushedCommit Pushed
self_pushPushed Same Target