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


##########
.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:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/labeler@v5

Review Comment:
   [ASF policy](https://infra.apache.org/github-actions-policy.html) requires 
that we must pin commit hashes of actions:
   
   > You **MUST** pin all external actions to the specific git hash (SHA1) of 
the action that has been reviewed for use by the project.
   
   Also the current version of labeler is v6.0.1.



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

Review Comment:
   I think it would be better to use job-level permissions here.



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