dave2wave commented on code in PR #449:
URL: 
https://github.com/apache/tooling-trusted-releases/pull/449#discussion_r2651532754


##########
.github/workflows/pr-labeler.yml:
##########
@@ -0,0 +1,17 @@
+name: Pull Request Labeler
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened]
+
+permissions:
+  contents: read
+  pull-requests: write
+
+jobs:
+  label:

Review Comment:
   Move permissions to jobs here as that assures that later additional steps 
will not run with escalated permissions:
   ```
       permissions:
         contents: read
         pull-requests: write
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to