mumrah commented on code in PR #17208:
URL: https://github.com/apache/kafka/pull/17208#discussion_r1761174217


##########
.github/workflows/labeler.yml:
##########
@@ -0,0 +1,12 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target

Review Comment:
   Let's enumerate the events we want to use as triggers to avoid unnecessary 
runs. Probably: opened, reopened, and synchronized (i.e., when someone pushes 
to the PR)



##########
.github/workflows/labeler.yml:
##########
@@ -0,0 +1,12 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+  labeler:
+    permissions:
+      contents: read
+      pull-requests: write
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@v5

Review Comment:
   There is a "sync" option we should use. This will allow the labeler to 
remove labels as well (when the file set changes)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to