From 3223f52bbf5ffe869831a635ea046b07c5c05080 Mon Sep 17 00:00:00 2001 From: shortstacked Date: Tue, 27 May 2025 10:46:16 +0100 Subject: [PATCH] ci: Pin action versions (#15733) --- .github/workflows/e2e-flaky.yml | 8 ++++---- .github/workflows/units-tests-reusable.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/e2e-flaky.yml b/.github/workflows/e2e-flaky.yml index a15e99ff25f..f409bafa66d 100644 --- a/.github/workflows/e2e-flaky.yml +++ b/.github/workflows/e2e-flaky.yml @@ -24,22 +24,22 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.inputs.branch }} - name: Setup PNPM - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: '18' cache: 'pnpm' - name: Cache build artifacts id: cache-build-artifacts - uses: useblacksmith/cache@v5 + uses: useblacksmith/cache@c5fe29eb0efdf1cf4186b9f7fcbbcbc0cf025662 # v5.0.2 with: path: | /home/runner/.cache/Cypress diff --git a/.github/workflows/units-tests-reusable.yml b/.github/workflows/units-tests-reusable.yml index 953e4ac5390..091511ce172 100644 --- a/.github/workflows/units-tests-reusable.yml +++ b/.github/workflows/units-tests-reusable.yml @@ -43,12 +43,12 @@ jobs: TURBO_FORCE: ${{ inputs.ignoreTurboCache }} COVERAGE_ENABLED: ${{ inputs.collectCoverage }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ inputs.ref }} - name: Use Node.js ${{ inputs.nodeVersion }} - uses: useblacksmith/setup-node@v5 + uses: useblacksmith/setup-node@65c6ca86fdeb0ab3d85e78f57e4f6a7e4780b391 # v5.0.4 with: node-version: ${{ inputs.nodeVersion }} @@ -61,7 +61,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup build cache - uses: useblacksmith/caching-for-turbo@v1 + uses: useblacksmith/caching-for-turbo@bafb57e7ebdbf1185762286ec94d24648cd3938a # v1 - name: Build if: ${{ inputs.cacheKey == '' }} @@ -69,7 +69,7 @@ jobs: - name: Restore cached build artifacts if: ${{ inputs.cacheKey != '' }} - uses: useblacksmith/cache/restore@v5 + uses: useblacksmith/cache/restore@c5fe29eb0efdf1cf4186b9f7fcbbcbc0cf025662 # v5.0.2 with: path: ./packages/**/dist key: ${{ inputs.cacheKey }} @@ -87,12 +87,12 @@ jobs: - name: Upload test results to Codecov if: ${{ !cancelled() }} # Run even if tests fail - uses: codecov/test-results-action@v1 + uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1 with: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov if: inputs.collectCoverage - uses: codecov/codecov-action@v5.1.2 + uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3 with: token: ${{ secrets.CODECOV_TOKEN }}