Skip to content
Open
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
56 changes: 56 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Configuration for labeler - https://github.com/actions/labeler
"Type: Breaking change":
- head-branch:
- '^breaking/'
- '^breaking-'

"Type: Feature":
- head-branch:
- '^feat/'
- '^feat-'
- '^feature/'
- '^feature-'

"Type: Bug":
- head-branch:
- '^fix/'
- '^fix-'
- '^bugfix/'
- '^bugfix-'
- '^bug/'
- '^bug-'

"Deprecation":
- head-branch:
- '^deprecate/'
- '^deprecate-'
- '^deprecation/'
- '^deprecation-'

"Type: Maintenance":
- head-branch:
- '^chore/'
- '^chore-'
- '^maintenance/'
- '^maintenance-'
- '^maint/'
- '^maint-'
- '^deps/'
- '^deps-'
- '^dependencies/'
- '^dependencies-'
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
- .github/labeler.yml
- .github/dependabot.yml
- .github/release.yml

"Type: Documentation":
- head-branch:
- '^docs/'
- '^docs-'
- '^doc/'
- '^doc-'
- changed-files:
- any-glob-to-any-file: 'website/**'
18 changes: 18 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request Labeler

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

permissions:
contents: read
pull-requests: write # Use this if all labels already exist in the repository (i.e., pre-defined in .github/labeler.yml).

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Run Labeler
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
with:
sync-labels: true # Whether or not to remove labels when matching files are reverted or no longer changed by the PR