Description
Add & Commit is a GitHub Action that commits the changes made during a workflow run straight back to your repository. It suits workflows that lint code, update documentation or produce builds that should be saved in the repo. You add it as a step in your workflow file, and its inputs configure the commit and the git arguments it uses. The README explains that the git arguments are parsed with string-argv and then run through simple-git, not through a git command line, so heavily nested quotes can be misread, and it suggests checking the parse with debug logging. The action also rejects some risky options: remote-helper overrides such as --upload-pack, --receive-pack and --exec, and remote URLs in scheme:: form, are refused. Git is limited to the https, http, ssh, file and git transports unless allow_unsafe_git_protocols is set to true. The project is open source and public on GitHub.…
Highlights
- Commit workflow changes back to the repo
- Configurable git arguments
- Blocks unsafe remote-helper options
- Limits git to safe transports by default
- Debug logging for argument parsing
Ratings & Reviews
No ratings yet
Be the first to rate Add And Commit.
People also visit
Add And Commit FAQ
What does Add & Commit do?
It commits files changed during a GitHub workflow run back to the repository.
How are git arguments handled?
They are parsed with string-argv and passed to simple-git, so unusual quoting can be misread. The README suggests enabling debug logging to check.
Which git transports are allowed?
https, http, ssh, file and git, unless allow_unsafe_git_protocols is set to true for a trusted custom remote.
Which options are blocked?
Remote-helper overrides such as --upload-pack, --receive-pack and --exec are rejected on every token, along with remote URLs written as scheme:: forms.
Is it free?
The project is open source and its code is public on GitHub.
What are the best Add And Commit alternatives?
Popular alternatives to Add And Commit include Create Pull Request, Prettier Action and CZ Git. See all Add And Commit alternatives













