nubificus/Add PR git trailers

Add PR, Reviewed-by and Approved-by trailers in git commits of a PR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 11, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: nubificus/git-trailers@17259a95741e28bdfaddb3340656527d0708f53f # v2.1.0

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

namedescriptionrequireddefault
pr-numberNumber identifying the pull request to process. Defaults to the current pull request number when used from a pull request event context. no
user-infoFilepath to .yaml file with user info (GitHub username, name, email) no
tokenAccess token used to fetch the repository and perform gh operations ${{ github.token }}
check-onlyWhether to only check if the required trailers existfalse
fail-on-missingWhether to fail if the required trailers are missingfalse
exclude-reviewersComma-separated list of GitHub logins to exclude from reviewer trailers github-actions,github-advanced-security
namedescription
has-trailersWhether the specified PR has the required trailers or not