feat: Add more inputs and outputs to the commit action to make it more useful#298
Merged
Conversation
janbuchar
reviewed
May 14, 2026
path and pull inputs, committed output to `commit actionpath and pull inputs, committed output to commit action
barjin
reviewed
May 15, 2026
Member
barjin
left a comment
There was a problem hiding this comment.
Thank you @fnesveda !
The only point I'd like to discuss deeper is the path / add option naming. The rest are rather optional nits (or documentation).
Cheers!
barjin
approved these changes
May 15, 2026
B4nan
approved these changes
May 15, 2026
path and pull inputs, committed output to commit actioncommit action to make it more useful
MrkMrk00
pushed a commit
that referenced
this pull request
May 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.45.0](v0.44.0...v0.45.0) (2026-05-21) ### Features * Add more inputs and outputs to the `commit` action to make it more useful ([#298](#298)) ([a1e8619](a1e8619)) * Removes archived Grafana annotation action #300 ### Bug Fixes * switch packageManager devEngines to warn + add minimumReleaseAge ([#286](#286)) ([c0c1014](c0c1014)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In https://github.com/apify/store-website-content-crawler/pull/753#discussion_r3240499474, we've decided to add a few inputs and outputs to the shared
commitaction to enable easier usage of it.The changes are:
pathinput specifying which files should be staged before the commitpullinput specifying whether to callgit pullbefore the commit and with what parametersretriesinput specifying how many retries to do in case of errorscommit-messageinput tomessagecommittedoutput sayingtrue/falsewhether the commit actually happened, or whether there were no changescommit-shaoutput tocommit_sha, and it contains the short SHAcommit_long_shaoutputThey mirror the interface of
EndBug/add-and-commitfor an easier migration from that action.