chore: use commit sha for GitHub actions (#15019)

Use specific commit SHAs for GitHub actions across various workflows to
enhance reliability and reproducibility. This change ensures that
actions run against a known version, reducing the risk of unexpected
issues due to updates in the third-party action repositories.

This contributes to improving the score in #14879
This commit is contained in:
Muhammad Atif Ali
2024-10-14 08:49:55 -07:00
committed by GitHub
parent 208ed1efd7
commit 57a65c15bf
19 changed files with 106 additions and 105 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ runs:
using: "composite"
steps:
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ inputs.version }}