Skip to content

Commit

Permalink
🏷️ Add labeler action (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
CybAtax committed May 25, 2024
1 parent b79ff11 commit b2b8ae9
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Pull Request Labeler"

on:
pull_request:
branches:
- main

permissions:
contents: read
pull-requests: write

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: config/labeler.yml
sync-labels: true
16 changes: 16 additions & 0 deletions config/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ci:
- changed-files:
- any-glob-to-any-file: .github/**

documentation:
- changed-files:
- any-glob-to-any-file:
- docs/**
- CHANGELOG.md
- LICENSE.txt
- README.adoc

java:
- changed-files:
- any-glob-to-any-file:
- src/**/java/**/*.java

0 comments on commit b2b8ae9

Please sign in to comment.