janhoy opened a new pull request, #21:
URL: https://github.com/apache/solr-orbit/pull/21

   ## Summary
   
   Brings all GitHub Actions workflows into compliance with the [ASF GitHub 
Actions policy](https://infra.apache.org/github-actions-policy.html).
   
   - **Pin all action refs to commit SHAs** — mutable tag refs (`@v3`, `@v4`) 
replaced with exact commit SHAs (tag retained as inline comment for readability)
   - **Replace unapproved action** — `jbergstroem/hadolint-gh-action` is not in 
the ASF approved list; replaced with `hadolint/hadolint-action` (approved in 
[apache/infrastructure-actions](https://github.com/apache/infrastructure-actions))
   - **Add `permissions: contents: read`** to all active workflows (principle 
of least privilege)
   - **Add compliance check workflow** — new `check-actions-usage.yml` runs the 
ASF-provided reusable checker 
([sample](https://github.com/apache/infrastructure-actions/blob/main/check-actions-usage/sample-ci-workflow.yml))
 on every `.github/**` change
   
   ## Actions pinned
   
   | Workflow | Action | SHA |
   |---|---|---|
   | dockerfile-lint | `actions/checkout` | `f43a0e5` (v3) |
   | dockerfile-lint | `hadolint/hadolint-action` | `2332a7b` (v3.3.0) |
   | docker-build | `actions/checkout` | `34e1148` (v4) |
   | docker-build | `docker/setup-qemu-action` | `c7c5346` (v3.7.0) |
   | docker-build | `docker/setup-buildx-action` | `8d2750c` (v3.12.0) |
   | unit-test | `actions/checkout` | `ee0669b` (v2) |
   | unit-test | `actions/checkout` | `34e1148` (v4) |
   | unit-test | `ruby/setup-ruby` | `afeafc3` (v1) |
   | docs (disabled) | all actions pinned | — |


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