peternied/Discerning Merger
Automatically merges PRs based on author and file patterns.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Stalelast commit Oct 19, 2023
- License
- Apache 2.0
- Runtime
- Deprecated runtime
Pinned Snippet
uses: peternied/discerning-merger@07eafb14c195a2c23b291f6b008a686589cfb545 # v3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token used for authentication | yes | — |
| pull-request-number | Pull request number to merge if checks pass | yes | — |
| allowed-authors | Newline seperated list of authors that are allowed to merge files | yes | — |
| allowed-files | Newline seperated list of files (glob format) that are allowed to be automerged. Files in the pull request that are not matched prevent merging. | yes | — |
| merge-type | The merge method to use, options are 'merge', 'squash', or 'rebase'; defaults to 'squash' | no | — |
Outputs
no outputs