From 6b4ac9a41898dff10ea7ce1afdba1913101b6325 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Sun, 23 Nov 2025 15:27:25 -0500 Subject: [PATCH] chore(ci): harden --- .../webpack-persistent-cache/action.yml | 2 +- .github/workflows/dependency-review.yml | 4 ++-- .github/workflows/deploy.yml | 6 +++--- .github/workflows/testing.yml | 20 +++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/actions/webpack-persistent-cache/action.yml b/.github/actions/webpack-persistent-cache/action.yml index e99f2bb4883c..ddfa28f14630 100644 --- a/.github/actions/webpack-persistent-cache/action.yml +++ b/.github/actions/webpack-persistent-cache/action.yml @@ -9,7 +9,7 @@ outputs: runs: using: composite steps: - - uses: actions/cache@v4 + - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 id: build-webpack-persistent-cache with: path: node_modules/.cache diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 8461b453cfcb..938c158e40b2 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -9,6 +9,6 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: 'Dependency Review' - uses: actions/dependency-review-action@v4 + uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 520d7e071c80..bf3bfdaf949e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,10 @@ jobs: node-version: [lts/*] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -35,7 +35,7 @@ jobs: - run: yarn lint:links - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4.7.3 + uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4 with: token: ${{ secrets.GITHUB_TOKEN }} folder: dist diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index c1f1b901feb0..d04ec3a8f0ef 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -16,10 +16,10 @@ jobs: node-version: [lts/*] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -35,10 +35,10 @@ jobs: node-version: [lts/*] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -55,10 +55,10 @@ jobs: node-version: [lts/*] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -67,7 +67,7 @@ jobs: run: npm install -g mdx2vast - name: Vale - uses: errata-ai/vale-action@v2.1.1 + uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1 with: files: src/content env: @@ -81,10 +81,10 @@ jobs: node-version: [lts/*] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v6 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -95,7 +95,7 @@ jobs: uses: ./.github/actions/webpack-persistent-cache - name: Cypress run - uses: cypress-io/github-action@v6 + uses: cypress-io/github-action@7ef72e250a9e564efb4ed4c2433971ada4cc38b4 # v6.10.4 with: browser: chrome config-file: cypress.config.js