actionutils/Commit or Rewrite
Smart GitHub Action that creates or amends commits. Rewrites HEAD commit if it has matching ID, otherwise creates new commit. All commits are signed via GitHub API.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit_message | Commit message (can be multiline) | yes | — |
| id | Unique identifier for amending commits (e.g., changelog-update) | yes | — |
| branch | Target branch (auto-detects current branch if not specified) | no | "" |
| files | Files to commit (newline-separated). If empty, commits all changes | no | "" |
| github_token | GitHub token for API operations | no | ${{ github.token }} |
Outputs
no outputs