From 9da7db995191a92b99c7fde651d7c0afa0fcff27 Mon Sep 17 00:00:00 2001 From: jcchavezs Date: Sat, 5 Dec 2026 00:21:02 +0100 Subject: [PATCH] chore(security): uses pinned versions of actions --- .github/workflows/ci.yml | 22 +++++++++++----------- .github/workflows/npm-release-beta.yml | 4 ++-- .github/workflows/npm-release.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ab9778ae4..edb3b32dab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: "20.x" cache: "yarn" @@ -34,10 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: "20.x" cache: "yarn" @@ -64,10 +64,10 @@ jobs: node-version: [20.x, 22.x, 24.x, 26.x] steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: ${{ matrix.node-version }} cache: "yarn" @@ -84,10 +84,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: "20.x" cache: "yarn" @@ -109,10 +109,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: "20.x" cache: "yarn" @@ -124,7 +124,7 @@ jobs: run: yarn test:coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 with: file: ./coverage/lcov.info flags: alltests diff --git a/.github/workflows/npm-release-beta.yml b/.github/workflows/npm-release-beta.yml index cdefb2e23e..c9542146e5 100644 --- a/.github/workflows/npm-release-beta.yml +++ b/.github/workflows/npm-release-beta.yml @@ -58,7 +58,7 @@ jobs: steps: # Checkout the full history so compute-next-version can inspect all # existing git tags. - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: fetch-depth: 0 ref: beta @@ -204,7 +204,7 @@ jobs: # that the built artifacts carry the stamped version. If publish # fails we have not yet created a release commit. - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: ${{ inputs.node-version }} cache: yarn diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index bbc012bbba..a1c13c58d8 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -30,7 +30,7 @@ jobs: steps: # Checkout the code - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15e6b166e5..28ec630209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,7 +86,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - uses: ./.github/actions/deploy-docs with: