actions/Labeler
Automatically label new pull requests based on the paths of files being changed
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 4–6scored Jul 6, 2026
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- MIT
Pinned Snippet
uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | The GitHub token used to manage labels | no | ${{ github.token }} |
| configuration-path | The path for the label configurations | no | .github/labeler.yml |
| sync-labels | Whether or not to remove labels when matching files are reverted | no | false |
| dot | Whether or not to auto-include paths starting with dot (e.g. `.github`) | no | true |
| pr-number | The pull request number(s) | no | — |
Outputs
| name | description |
|---|---|
| new-labels | A comma-separated list of all new labels |
| all-labels | A comma-separated list of all labels that the PR contains |