Skip to content

Commit

Permalink
Add pull request labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Dec 15, 2023
1 parent d0339b8 commit 5bb2365
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
skip-changelog:
- changed-files:
- any-glob-to-any-file: [ '.gitattributes', '.github/**/*', '.gitignore', 'crowdin.yml', '.mvn/**/*' ]

dependencies:
- changed-files:
- any-glob-to-any-file: [ 'pom.xml' ]

documentation:
- changed-files:
- any-glob-to-any-file: [ '*.adoc', '*.md', '*.txt', '**/*.html', '**/*.png', 'LICENSE*' ]

tests:
- changed-files:
- any-glob-to-any-file: [ 'src/test/**/*' ]
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 5bb2365

Please sign in to comment.