actions/Labeler

Automatically label new pull requests based on the paths of files being changed

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Jul 6, 2026
Maintenance Recency
Activelast commit Jul 6, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0

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

namedescriptionrequireddefault
repo-tokenThe GitHub token used to manage labelsno${{ github.token }}
configuration-pathThe path for the label configurationsno.github/labeler.yml
sync-labelsWhether or not to remove labels when matching files are revertednofalse
dotWhether or not to auto-include paths starting with dot (e.g. `.github`)notrue
pr-numberThe pull request number(s)no
namedescription
new-labelsA comma-separated list of all new labels
all-labelsA comma-separated list of all labels that the PR contains