owretch/Create Verified Commit and Tag

Create verified commits and annotated tags via GraphQL. JavaScript action. Supports glob filters and commit-if-changed.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub token (GITHUB_TOKEN or GitHub App installation token) with contents:write permissionyes
commit-messageCommit message. First line becomes the headline; remaining lines become the body.yes
refTarget branch name to commit to (e.g. main, feature/x). Auto-detected from the event context when omitted: - pull_request: uses the PR head branch - push/workflow_dispatch/schedule: uses the branch from GITHUB_REF Tag events and fork PRs are not supported. no""
filesMultiline list of glob patterns to filter which changed files to include. Patterns are matched against paths reported by git status — not the filesystem. When omitted, all workspace changes detected by git status are included. no""
tag-nameAnnotated tag name to create (e.g. v1.0.0). Omit to skip tagging.no""
tag-messageAnnotated tag message. Defaults to the commit message when omitted.no""
fail-on-emptyFail the action if no changed files are detected. Set to false for commit-if-changed patterns.notrue
namedescription
commit-shaSHA of the created commit. Empty if no changes were committed.
tag-shaSHA of the created tag object. Empty if no tag was created.
committedtrue if a commit was created, false if the changeset was empty and fail-on-empty is false.