epy0n0ff/PR Gitleaks Comment Generator
Automatically comment on .gitleaksignore changes in PRs with security context
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API authentication | yes | — |
| pr-number | Pull request number | yes | — |
| commit-sha | Commit SHA to attach comments to (should be PR HEAD commit). Recommended: github.event.pull_request.head.sha | no | "" |
| comment-mode | Comment mode: "override" to update existing comments, "append" to always create new comments | no | override |
| debug | Enable debug logging | no | false |
| gh-host | GitHub Enterprise Server hostname (e.g., github.company.com). Leave empty for GitHub.com. | no | "" |
| command | Command to execute (e.g., "clear" to delete bot comments). Leave empty for normal diff commenting mode. | no | "" |
| comment-id | Comment ID that triggered the command (for clear command) | no | "" |
| requester | GitHub username who requested the command (for permission checking) | no | "" |
Outputs
| name | description |
|---|---|
| posted | Number of comments posted |
| skipped_duplicates | Number of duplicate comments skipped |
| errors | Number of errors encountered |