Skip to content

Releases: SCL339/pr-labeler-action

v1.0.0 - Initial Release

Choose a tag to compare

@SCL339 SCL339 released this 28 May 15:45

🏷️ PR Labeler Action v1.0.0

Automatically labels PRs based on changed file paths.

Features

  • 🔍 Glob pattern matching — Use **, *, and ? patterns
  • 🗂️ YAML/JSON config — Simple path-to-label mapping format
  • 🧠 Smart dedup — Won't add labels that already exist
  • 🐍 Pure Python — Lightweight composite action, no Docker
  • 🔒 Works with forks — Supports pull_request_target

Quick Start

Create .github/pr-labeler.yml:

frontend:
  - 'src/components/**'
  - 'src/styles/**'
backend:
  - 'src/api/**'

Then add the action to your workflow:

- uses: SCL339/pr-labeler-action@v1.0.0

See the README for full documentation.