tisonkun commented on code in PR #16836:
URL: https://github.com/apache/pulsar/pull/16836#discussion_r932996565


##########
.github/workflows/release-drafter.yaml:
##########
@@ -0,0 +1,22 @@
+name: "Pull Request Labeler"
+
+on:
+  pull_request_target:
+    types:
+      - opened
+      - edited
+      - synchronize
+
+permissions:
+  contents: read
+
+jobs:
+  update_release_draft:
+    permissions:
+      contents: read
+      pull-requests: write # for release-drafter/release-drafter to add label 
to PR

Review Comment:
   We can remove all `permissions` section in this workflow I think.



-- 
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