-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-17542: Use actions/labeler for automatic PR labeling #17208
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8a8052d
init labeler
TaiJuWu 9a866da
address comments
TaiJuWu f259074
address comments
TaiJuWu 5211f2e
add licience
TaiJuWu ac283f0
fix docs setting
TaiJuWu 17bb7f7
add mirror label
TaiJuWu 3391bc5
exclude mirror from connect module
TaiJuWu 91bafe1
add test label
TaiJuWu 4ae1023
remove redundant
TaiJuWu f4f708a
move config to .github/config
TaiJuWu 80bfa4a
address comments
TaiJuWu 22c99fd
address comments
TaiJuWu e39f883
address comments
TaiJuWu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
build: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '.github/**' | ||
- 'gradle/**' | ||
- '*gradlew*' | ||
|
||
clients: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'clients/**' | ||
|
||
|
||
tests: | ||
- all: | ||
- changed-files: | ||
- any-glob-to-all-files: | ||
- 'tests/**' | ||
- '**/test/**' | ||
|
||
|
||
connect: | ||
- all: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'connect/**/*' | ||
- all-globs-to-all-files: | ||
- '!connect/mirror/*' | ||
|
||
mirror-maker-2: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'connect/mirror/**' | ||
|
||
|
||
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/**' | ||
|
||
tools: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'tools/**' | ||
- 'trogdor/**' | ||
- 'vagrant/**' | ||
- 'committer-tools/**' | ||
- 'log4j-appender/**' | ||
- 'shell/**' | ||
|
||
docs: | ||
- changed-files: | ||
- any-glob-to-all-files: | ||
- 'docs/**' | ||
- '**/*.md' | ||
- 'examples/**' | ||
|
||
generator: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'generator/**' | ||
|
||
transactions: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'transaction-coordinator/**' | ||
|
||
KIP-932: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'share/**' | ||
- 'share-coordinator/**' | ||
|
||
docker: | ||
mumrah marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'docker/**' | ||
|
||
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/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: "Pull Request Labeler" | ||
on: | ||
pull_request_target: | ||
types: [opened, reopened, synchronize] | ||
|
||
|
||
jobs: | ||
label_PRs: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 | ||
TaiJuWu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
with: | ||
configuration-path: .github/configs/labeler.yml |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great thank you, I was manually tagging them @TaiJuWu 👍