actions4git/Add, commit, and push

✨ Automagically git add, git commit, and git push

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathThe path to the repository root folder to perform the Git operations in. This defaults to the current working directory ('.'). Change this to a subfolder if you are using a different folder other than the default 'github.workspace' for your Git repository. .
add-pathspecAdditional path specifiers to be passed to 'git add'. These can be files, folders, globs, or even some fancy Git pathspec things such as ':!ignoreme.txt'. Check out the CSS-Tricks Git Pathspecs and How to Use Them article for the highlights of Git pathspecs. If this input is not specified, 'git add --all' will be used instead. Specifying '.' has slightly different behaviour from '--all'.
add-forceWhether or not to use the '--force' flag when performing the 'git add' operation. Use this if you really want to add something but it's in your '.gitignore'. This can be useful if you ever need to commit build artifacts to Git that are normally ignored by your '.gitignore'. Defaults to 'false'. false
commit-author
commit-author-nameThe name of the author to associate with the commit. Should be left unspecified if 'commit-author' is specified.
commit-author-emailThe email address of the author to associate with the commit. Should be left unspecified if 'commit-author' is specified.
commit-committer
commit-committer-nameThe name of the committer to associate with the commit. Should be left unspecified if 'commit-committer' is specified.
commit-committer-emailThe email address of the committer to associate with the commit. Should be left unspecified if 'commit-committer' is specified.
commit-messageThe '--message' parameter to use for the commit. This can be a multiline string if you want to specify a title and body. The default is 'Automated changes'. Automated changes
push-repositoryorigin
push-refspec
push-forcefalse
namedescription
committedWhether or not anything was actually committed to the repository locally. This will be 'true' if there were any changes and 'false' if not.
commit-shaThe SHA of the commit that was created. Will not be set if nothing was committed.
pushedWhether or not anything was actually pushed to the remote repository. This will be 'true' if there were any changes that were pushed and 'false' if not.