From fc13533a83818a23b2b50ccda40e7f86e219ff39 Mon Sep 17 00:00:00 2001 From: Patrick Kaeding Date: Tue, 24 Mar 2026 10:23:18 -0400 Subject: [PATCH 1/2] [SEC-7924] chore: pin third-party GitHub Actions to commit SHAs Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks. Addresses findings from the third-party-action-not-pinned-to-commit-sha Semgrep rule. --- .github/workflows/check-go-versions.yml | 4 ++-- .github/workflows/release-please.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-go-versions.yml b/.github/workflows/check-go-versions.yml index acd7880..b6bccbd 100644 --- a/.github/workflows/check-go-versions.yml +++ b/.github/workflows/check-go-versions.yml @@ -16,7 +16,7 @@ jobs: # Perform a GET request to endoflife.date for the Go language. The response # contains all Go releases; we're interested in the 0'th and 1'th (latest and penultimate.) - name: Fetch officially supported Go versions - uses: JamesIves/fetch-api-data-action@396ebea7d13904824f85b892b1616985f847301c + uses: JamesIves/fetch-api-data-action@396ebea7d13904824f85b892b1616985f847301c # 396ebea7d13904824f85b892b1616985f847301c with: endpoint: https://endoflife.date/api/go.json configuration: '{ "method": "GET" }' @@ -61,7 +61,7 @@ jobs: - name: Create pull request if: steps.update-go-versions.outcome == 'success' - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6 with: token: ${{ secrets.GITHUB_TOKEN }} add-paths: | diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index baf8347..2d15e5e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -10,6 +10,6 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4 with: target-branch: v3 From baf79da4856f947f8e441b3e3bbcab0fd9bca831 Mon Sep 17 00:00:00 2001 From: Todd Anderson <127344469+tanderson-ld@users.noreply.github.com> Date: Tue, 24 Mar 2026 13:10:49 -0400 Subject: [PATCH 2/2] Update release-please.yml --- .github/workflows/release-please.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2d15e5e..23ac34e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -10,6 +10,6 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4 + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 with: target-branch: v3