peternied/Discerning Merger

Automatically merges PRs based on author and file patterns.

View on GitHub

Trust 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

workflow.ymlSHA-pinned
uses: peternied/discerning-merger@07eafb14c195a2c23b291f6b008a686589cfb545 # v3

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

namedescriptionrequireddefault
tokenGitHub token used for authenticationyes
pull-request-numberPull request number to merge if checks passyes
allowed-authorsNewline seperated list of authors that are allowed to merge filesyes
allowed-filesNewline 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-typeThe merge method to use, options are 'merge', 'squash', or 'rebase'; defaults to 'squash'no

no outputs