lfreleng-actions/gerrit-review

Set review votes on a Gerrit system

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/gerrit-review-action@a1c036a59b94c8ab89de26d378f6a28cc7378b13 # v1.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
hostThe Gerrit host with SSH available. Accepts a bare hostname (e.g. 'gerrit.example.org') or a 'host:port' shorthand (e.g. 'modeseven.org:40086'); an embedded port matching 'name:digits' overrides the 'port' input. Bare IPv6 literals such as '::1' are accepted but bracketed forms ('[::1]:29418') are not; pass an explicit 'port' alongside a bare IPv6 host instead.yes
portThe SSH port to use (default 29418). Ignored when the 'host' input carries an embedded ':port' shorthand.no29418
usernameThe username to connect to the Gerrit host asyes
keyThe SSH private key to useyes
key_nameThe filename for the key, defaults to id_rsanoid_rsa
known_hostsThe known hosts for the host serveryes
gerrit-change-numberThe Gerrit Change Number that is being voted againstyes
gerrit-patchset-numberThe patchset number of the change that is being voted againstno1
vote-typeThe type of vote to perform: clear, success, failure, cancellednoclear
comment-onlyShould the review only post a comment and not a votenofalse

no outputs