huochexizhan/Go linter Runner

Run linter on github repo and comment issue

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Feb 28, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: huochexizhan/go-linter-runner@fb54b15148fd79152bdc819f486db3fff2ec179d # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
go_versionGo Version Default '1.22' 1.22
action'run' or 'submit' Default 'run' run
yaml_config'run' option: the yaml style config file for 'run' action ""
repo_urlThe repo to run lint, only work for github repo now
workdir'run' option: Work directory. Default '.' .
install_command'run' option: The install command like 'go install xxx/xxx@yyy'
linter_command'run' option: The lint command to run linter like 'xxlint --yy cc'
excludes'run' option: The output must exclude string array, can set as regex []
includes'run' option: The output must include string array, can set as regex [ ".go" ]
issue_id'run' option: If linter catch some output, it will post comment on the issue ""
submit_source_file'submit' option: the repo url file for 'submit' action can be the file name in https://github.com/alingse/go-linter-runner/blob/main/source/ dir or other file download link. Default 'top.txt' top.txt
submit_repo_count'submit' option: the repo url count to submit that read from `submit_source_file` for 'submit' action Default '1000' 1000
submit_workflow'submit' option: the workflow to auto Default 'go-linter-runner.yml' go-linter-runner.yml

no outputs