lekman/Auto Approve Pull Requests
Auto-approve PRs based on allow list, label requirements, and status check verification
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with repo and PR write permissions | yes | "" |
| allowed-authors | Comma-separated list of GitHub usernames authorized to trigger auto-approval | yes | "" |
| required-labels | Comma-separated list of labels to validate against the PR | no | "" |
| label-match-mode | Label matching mode: 'all', 'any', or 'none' | no | all |
| silent | If true, suppress job summary output | no | false |
| dry-run | If true, perform all checks but skip actual approval (test mode) | no | false |
| merge-method | Method to use when auto-merging: 'merge', 'squash', or 'rebase' | no | merge |
| path-filters | File path patterns for conditional approval (supports glob patterns and ! for exclusion) | no | "" |
| max-files-changed | Maximum number of files that can be changed in the PR (0 = no limit) | no | 0 |
| max-lines-added | Maximum number of lines that can be added in the PR (0 = no limit) | no | 0 |
| max-lines-removed | Maximum number of lines that can be removed in the PR (0 = no limit) | no | 0 |
| max-total-lines | Maximum total lines changed (added + removed) in the PR (0 = no limit) | no | 0 |
| size-limit-message | Custom message to display when PR exceeds size limits | no | PR exceeds configured size limits |
Outputs
no outputs