googleapis/Code-Suggester

An action-wrapper for the npm cli code-suggester. It suggests code to your repository

View on GitHub

Trust Signals

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

Pinned Snippet

workflow.ymlSHA-pinned
uses: googleapis/code-suggester@c8a43cd63f56d475a4be2d9bc573bebd8fc0079d # v5.0.1

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

namedescriptionrequireddefault
commandThe command for code-suggester to run. Can be "pr" or "review"yes
upstream_repoThe repository to create the fork off of.
upstream_ownerThe owner of the upstream repository.
descriptionThe GitHub Pull Request description. Required for "pr" command.
titleThe GitHub Pull Request title. Required for "pr" command.
messageThe GitHub commit message. Required for "pr" command.
branchThe GitHub working branch name. Required for "pr" command.
primaryThe primary upstream branch to open a PR against.main
forceWhether or not to force push a reference with different commit history before the remote reference HEAD. Default is falsefalse
maintainers_can_modifyWhether or not maintainers can modify the pull request.true
git_dirThe path of a git directory.
forkWhether or not to attempt forking to a separate repository. Default is true.true
pull_numberPull Request number to review. Required for "review" command.
labelsLabels to add to the pull request being opened.

no outputs