From 5fb46663ec3d4c64d6f2f5297a0714b1b35183f7 Mon Sep 17 00:00:00 2001 From: Dan Fiedler Date: Wed, 7 Oct 2026 17:45:44 -0400 Subject: [PATCH] Pin GitHub Actions to full-length commit SHAs --- .github/workflows/codeql.yml | 2 +- .github/workflows/compress-images-on-pull-request.yml | 4 ++-- .github/workflows/pxt-buildpush.yml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bd519f13f..23cceeb23 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@main + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/compress-images-on-pull-request.yml b/.github/workflows/compress-images-on-pull-request.yml index b3d050ae8..7c73eb3a9 100644 --- a/.github/workflows/compress-images-on-pull-request.yml +++ b/.github/workflows/compress-images-on-pull-request.yml @@ -9,8 +9,8 @@ jobs: name: calibreapp/image-actions runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: calibreapp/image-actions@master + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: calibreapp/image-actions@9d037c06280028c110ff61c433ad4dc7d33c3c43 # 1.5.0 with: githubToken: ${{ secrets.GITHUB_TOKEN }} jpegQuality: "80" diff --git a/.github/workflows/pxt-buildpush.yml b/.github/workflows/pxt-buildpush.yml index 670835426..f0a17d4c0 100644 --- a/.github/workflows/pxt-buildpush.yml +++ b/.github/workflows/pxt-buildpush.yml @@ -29,13 +29,13 @@ jobs: needs: tag-bump-commit if: always() && fromJSON(needs.tag-bump-commit.outputs.did_tag || 'false') == false steps: - - uses: actions/checkout@main + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true - name: Use Node.js - uses: actions/setup-node@main + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 20.x @@ -63,13 +63,13 @@ jobs: needs: tag-bump-commit if: always() && fromJSON(needs.tag-bump-commit.outputs.did_tag || 'false') == true steps: - - uses: actions/checkout@main + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 fetch-tags: true - name: Use Node.js - uses: actions/setup-node@main + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 20.x @@ -95,7 +95,7 @@ jobs: PXT_SKIP_GIT_COMMIT: true - name: Clone release repo - uses: actions/checkout@main + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: ${{ secrets.BUILT_REPO_NAME }} path: tmp/releases/release