diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bd519f13..23cceeb2 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 b3d050ae..7c73eb3a 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 67083542..f0a17d4c 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