Skip to content

Commit

Permalink
init labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Sep 18, 2024
1 parent 344d8a6 commit 067b8da
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 0 deletions.
86 changes: 86 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
build:
- changed-files:
- any-glob-to-any-file:
- '.github/**'
- 'gradle/**'
- '*gradlew*'

clients:
- changed-files:
- any-glob-to-any-file:
- 'clients/**'

connect:
- changed-files:
- any-glob-to-any-file:
- 'connect/**'

core:
- changed-files:
- any-glob-to-any-file:
- 'core/**'
- '*server*/**'

storage:
- changed-files:
- any-glob-to-any-file:
- 'storage/**'

streams:
- changed-files:
- any-glob-to-any-file:
- 'streams/**'

tests:
- changed-files:
- any-glob-to-all-files:
- 'tests/**'
- '**/test/**'

tools:
- changed-files:
- any-glob-to-any-file:
- 'tools/**'
- 'trogdor/**'
- 'vagrant/**'
- 'committer-tools/**'

docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '**/*.md'
- 'examples/**'

docker:
- changed-files:
- any-glob-to-any-file:
- 'docker/**'


coordinator:
- changed-files:
- any-glob-to-any-file:
- 'group-coordinator/**'
- 'coordinator-common/**'

performance:
- changed-files:
- any-glob-to-any-file:
- 'jmh-benchmarks/**'

consumer:
- changed-files:
- any-glob-to-any-file:
- 'clients/src/main/java/org/apache/kafka/clients/consumer/**'

producer:
- changed-files:
- any-glob-to-any-file:
- 'clients/src/main/java/org/apache/kafka/clients/producer/**'

kraft:
- changed-files:
- any-glob-to-any-file:
- 'metadata/**'
- 'raft/**'
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
pull_request_target:
types: [opened, reopened, synchronize]


jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit 067b8da

Please sign in to comment.