Copilot commented on code in PR #21:
URL: https://github.com/apache/solr-orbit/pull/21#discussion_r3293607830


##########
.github/workflows/check-actions-usage.yml:
##########
@@ -0,0 +1,22 @@
+name: Check ASF Actions Compliance
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - main
+    paths:
+      - ".github/**"
+  pull_request:
+    paths:
+      - ".github/**"
+
+permissions:
+  contents: read
+
+jobs:
+  check:
+    name: Check actions usage
+    uses: 
apache/infrastructure-actions/check-project-actions/check-project-actions.yml@main
+    permissions:

Review Comment:
   `uses: apache/infrastructure-actions/...@main` is a mutable ref, which 
undermines the stated goal of pinning workflow dependencies to immutable commit 
SHAs for ASF policy compliance. Please pin this reusable workflow call to a 
specific commit SHA (and optionally keep the tag/branch as an inline comment) 
so the compliance checker itself is also immutable.



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