mantulen/pre-commit action with PR comment and job summary of results

Runs pre-commit, creates a job summary, and adds a comment to the pull request with the results

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: mantulen/pre-commit-action@eeefac5579a88bc5f177ef4e825498123ddfcc72 # v0.0.2

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

namedescriptionrequireddefault
base-urlAn optional GitHub REST API URL to connect to a different GitHub instance. For example, https://my.github-enterprise-server.com/api/v3nohttps://api.github.com
github-tokenThe GitHub token used to create an authenticated client.no${{ github.token }}
issue-numberID of the issue or pull request to comment on. Default is the number of the pull request that triggered the action.no${{ github.event.number }}
skip-commentWhether to skip commenting on the pull request. true or false. Default is false.nofalse
skip-job-summaryWhether to skip printing the job summary. true or false. Default is false.nofalse
debugWhether to tell the GitHub client to log details of its requests. true or false. Default is to run in debug mode when the GitHub Actions step debug logging is turned on.no${{ runner.debug == '1' }}
python-pathCustom path to Python executableno
pre-commit-pathCustom path to pre-commit executableno
namedescription
resultPre-commit result in JSON format.