amezin/Create detached commit

Create a detached commit through GitHub API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
messageCommit messageyes
filesFiles to add/update. Supports wildcard patterns.yes
parentParent commit SHAyes${{ github.sha }}
repositoryRepository name with owneryes${{ github.repository }}
toplevelTop-level directory of the repositoryyes.
github-tokenGitHub API token to useyes${{ github.token }}
max-inline-blob-sizeFiles larger than this (in encoded form) will be uploaded with separate API requests. The size is specified in bytes, with optional K or M suffix. Note: non-UTF-8 files are always uploaded in separate requests.yes1M
namedescription
shaSHA of the created commit
urlAPI URL of the created commit
html_urlBrowser URL of the created commit
commitCommit object as JSON
treeTree object as JSON
tree_shaSHA of the created Git tree
tree_urlAPI URL of the created Git tree