Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
documentation:
- changed-files:
- any-glob-to-any-file: "docs/**"

feature:
- head-branch: ["^feature/"]

fix:
- head-branch: ["^fix/"]

hotfix:
- head-branch: ["^hotfix/"]

release:
- head-branch: ["^release/"]
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Pull Request Labeler

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
labeler:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v6
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ GitHub Actions workflows in `.github/workflows/`:
- **docker.yml**: Validate Docker build
- **devcontainer.yml**: Validate Dev Container configuration
- **format.yml**: Check Ruff formatting
- **labeler.yml**: Add label in GitHub
- **lint.yml**: Run Pyright + Ruff linting
- **test.yml**: Run pytest with coverage
- **gh-deploy.yml**: Deploy documentation to GitHub Pages
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ Automated workflows ensure code quality and consistency. All workflows run on pu
| `docker.yml` | Validate Docker build | Docker |
| `devcontainer.yml` | Validate Dev Container configuration | devcontainer CLI |
| `format.yml` | Check code formatting | Ruff |
| `labeler.yml` | Add label in GitHub | GitHub |
| `lint.yml` | Run static analysis | Pyright, Ruff |
| `test.yml` | Run test suite with coverage | pytest, coverage |
| `gh-deploy.yml` | Deploy documentation to GitHub Pages | MkDocs |
Expand Down