Unverified Commit 4e633139 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

[ci] Also pin first-party GH actions (#93609)

We were already pinning nearly all of our third-party GitHub actions,
but this also pins our first-party ones (things starting with
`actions/*`.

This gets us closer to being able to enforcing pinning at the repository
level:
![Screenshot 2026-05-06 at
4.39.46 PM.png](https://app.graphite.com/user-attachments/assets/ced0b3f2-7de8-4a9a-aa79-8d3efa74197d.png)

The one remaining blocker is this self-reference in a
`pull_request_target` action:
https://github.com/vercel/next.js/blob/c06d94ba22d0156e8bff28c81f7874b73d80ed03/.github/workflows/pull_request_auto_label.yml#L65

I'm still figuring out the best approach to do there, and I'll submit
that in a separate PR.

Discussion here about enforcing this org-wide:
https://vercel.slack.com/archives/C0AM84PRSGL/p1778110550384279
parent 8f132ea9
...@@ -9,7 +9,7 @@ runs: ...@@ -9,7 +9,7 @@ runs:
using: 'composite' using: 'composite'
steps: steps:
- name: 'Setup Rust toolchain' - name: 'Setup Rust toolchain'
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0
with: with:
target: ${{ inputs.targets }} target: ${{ inputs.targets }}
# needed to not make it override the defaults # needed to not make it override the defaults
......
...@@ -47,12 +47,12 @@ jobs: ...@@ -47,12 +47,12 @@ jobs:
value: ${{ steps.deploy-target.outputs.value }} value: ${{ steps.deploy-target.outputs.value }}
release_environment: ${{ steps.deploy-target.outputs.release_environment }} release_environment: ${{ steps.deploy-target.outputs.release_environment }}
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 1 fetch-depth: 1
- run: echo "${{ github.event.after }}" - run: echo "${{ github.event.after }}"
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -120,7 +120,7 @@ jobs: ...@@ -120,7 +120,7 @@ jobs:
NEXT_SKIP_NATIVE_POSTINSTALL: 1 NEXT_SKIP_NATIVE_POSTINSTALL: 1
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -129,14 +129,14 @@ jobs: ...@@ -129,14 +129,14 @@ jobs:
npm i -g corepack@0.31 npm i -g corepack@0.31
corepack enable corepack enable
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 25 fetch-depth: 25
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v5 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
...@@ -154,7 +154,7 @@ jobs: ...@@ -154,7 +154,7 @@ jobs:
- run: pnpm run build - run: pnpm run build
- uses: actions/cache@v5 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: cache-build id: cache-build
with: with:
...@@ -236,14 +236,14 @@ jobs: ...@@ -236,14 +236,14 @@ jobs:
# we use checkout here instead of the build cache since # we use checkout here instead of the build cache since
# it can fail to restore in different OS' # it can fail to restore in different OS'
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
# crates/next-napi-bindings/build.rs uses git-describe to find the most recent git tag. It's okay if # crates/next-napi-bindings/build.rs uses git-describe to find the most recent git tag. It's okay if
# this fails, but fetch with enough depth that we're likely to find a recent tag. # this fails, but fetch with enough depth that we're likely to find a recent tag.
fetch-depth: 100 fetch-depth: 100
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
if: ${{ !matrix.docker }} if: ${{ !matrix.docker }}
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
...@@ -394,10 +394,10 @@ jobs: ...@@ -394,10 +394,10 @@ jobs:
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -443,7 +443,7 @@ jobs: ...@@ -443,7 +443,7 @@ jobs:
- build-native - build-native
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -456,7 +456,7 @@ jobs: ...@@ -456,7 +456,7 @@ jobs:
- name: tune linux network - name: tune linux network
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v5 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
...@@ -507,7 +507,7 @@ jobs: ...@@ -507,7 +507,7 @@ jobs:
id-token: write id-token: write
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 24 node-version: 24
check-latest: true check-latest: true
...@@ -521,7 +521,7 @@ jobs: ...@@ -521,7 +521,7 @@ jobs:
- name: tune linux network - name: tune linux network
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v5 - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
timeout-minutes: 5 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
...@@ -547,7 +547,7 @@ jobs: ...@@ -547,7 +547,7 @@ jobs:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -578,7 +578,7 @@ jobs: ...@@ -578,7 +578,7 @@ jobs:
env: env:
DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }} DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }}
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
sparse-checkout: | sparse-checkout: |
.github .github
......
...@@ -31,7 +31,7 @@ jobs: ...@@ -31,7 +31,7 @@ jobs:
permissions: permissions:
contents: read contents: read
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -147,7 +147,7 @@ jobs: ...@@ -147,7 +147,7 @@ jobs:
if: ${{ needs.changes.outputs.docs-only == 'false' }} if: ${{ needs.changes.outputs.docs-only == 'false' }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -158,7 +158,7 @@ jobs: ...@@ -158,7 +158,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -205,8 +205,8 @@ jobs: ...@@ -205,8 +205,8 @@ jobs:
validate-docs-links: validate-docs-links:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20 node-version: 20
- name: Setup corepack - name: Setup corepack
...@@ -284,7 +284,7 @@ jobs: ...@@ -284,7 +284,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: ast-grep lint name: ast-grep lint
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: ast-grep lint step - name: ast-grep lint step
uses: ast-grep/action@cf62e780f0c88301228978d593a7784427a097a6 # v1.5.0 uses: ast-grep/action@cf62e780f0c88301228978d593a7784427a097a6 # v1.5.0
with: with:
......
...@@ -182,7 +182,7 @@ jobs: ...@@ -182,7 +182,7 @@ jobs:
fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV fnm env --json | jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' | xargs -I {} echo "{}" >> $GITHUB_ENV
- name: Normalize input step names into path key - name: Normalize input step names into path key
uses: actions/github-script@v7 uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
id: var id: var
with: with:
script: | script: |
...@@ -224,7 +224,7 @@ jobs: ...@@ -224,7 +224,7 @@ jobs:
- run: rm -rf .git - run: rm -rf .git
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -304,7 +304,7 @@ jobs: ...@@ -304,7 +304,7 @@ jobs:
# If keep conditions in sync breaks, we can split into restore and save # If keep conditions in sync breaks, we can split into restore and save
# steps where saving runs based on the outcome of the install step # steps where saving runs based on the outcome of the install step
if: ${{ runner.environment == 'github-hosted' && (inputs.skipInstallBuild != 'yes' || inputs.needsNextest == 'yes') }} if: ${{ runner.environment == 'github-hosted' && (inputs.skipInstallBuild != 'yes' || inputs.needsNextest == 'yes') }}
uses: actions/cache@v4 uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
environment: release-${{ github.event.inputs.releaseType }} environment: release-${{ github.event.inputs.releaseType }}
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
......
...@@ -30,14 +30,14 @@ jobs: ...@@ -30,14 +30,14 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -76,7 +76,7 @@ jobs: ...@@ -76,7 +76,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -153,7 +153,7 @@ jobs: ...@@ -153,7 +153,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Collect integration test stat - name: Collect integration test stat
uses: ./.github/actions/next-integration-stat uses: ./.github/actions/next-integration-stat
......
...@@ -10,7 +10,7 @@ jobs: ...@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- uses: actions/stale@v9 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
id: issue-stale id: issue-stale
name: 'Mark stale issues, close stale issues' name: 'Mark stale issues, close stale issues'
with: with:
...@@ -26,7 +26,7 @@ jobs: ...@@ -26,7 +26,7 @@ jobs:
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.' stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you.'
close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!' close-issue-message: 'This issue has been automatically closed due to inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding!'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
id: stale-no-repro id: stale-no-repro
name: 'Close stale issues with no reproduction' name: 'Close stale issues with no reproduction'
with: with:
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
id: stale-simple-repro id: stale-simple-repro
name: 'Close issues with no simple repro' name: 'Close issues with no simple repro'
with: with:
...@@ -56,7 +56,7 @@ jobs: ...@@ -56,7 +56,7 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
labels-to-add-when-unstale: 'not stale' labels-to-add-when-unstale: 'not stale'
operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close operations-per-run: 300 # 1 operation per 100 issues, the rest is to label/comment/close
- uses: actions/stale@v9 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
id: stale-no-canary id: stale-no-canary
name: 'Close issues not verified on canary' name: 'Close issues not verified on canary'
with: with:
......
...@@ -9,8 +9,8 @@ jobs: ...@@ -9,8 +9,8 @@ jobs:
if: github.event.label.name == 'please use the correct issue template' if: github.event.label.name == 'please use the correct issue template'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -10,8 +10,8 @@ jobs: ...@@ -10,8 +10,8 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- name: Setup corepack - name: Setup corepack
run: | run: |
npm i -g corepack@0.31 npm i -g corepack@0.31
......
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
if: ${{ github.event.workflow_run.event == 'pull_request' && github.repository == 'vercel/next.js' }} if: ${{ github.event.workflow_run.event == 'pull_request' && github.repository == 'vercel/next.js' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
persist-credentials: false persist-credentials: false
......
...@@ -96,7 +96,7 @@ jobs: ...@@ -96,7 +96,7 @@ jobs:
bundler: [webpack, turbopack] bundler: [webpack, turbopack]
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -137,7 +137,7 @@ jobs: ...@@ -137,7 +137,7 @@ jobs:
if: always() && needs.stats.result != 'cancelled' if: always() && needs.stats.result != 'cancelled'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -155,7 +155,7 @@ jobs: ...@@ -155,7 +155,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
......
...@@ -47,7 +47,7 @@ jobs: ...@@ -47,7 +47,7 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Display release mode - name: Display release mode
run: | run: |
...@@ -61,7 +61,7 @@ jobs: ...@@ -61,7 +61,7 @@ jobs:
echo " - 📦 This will PUBLISH packages to npm" echo " - 📦 This will PUBLISH packages to npm"
fi fi
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: '24' node-version: '24'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
...@@ -77,7 +77,7 @@ jobs: ...@@ -77,7 +77,7 @@ jobs:
working-directory: ./rspack working-directory: ./rspack
- name: Cache pnpm dependencies - name: Cache pnpm dependencies
uses: actions/cache@v3 uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ hashFiles('**/pnpm-lock.yaml') }} key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ hashFiles('**/pnpm-lock.yaml') }}
......
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
steps: steps:
- name: Check conclusion of required job - name: Check conclusion of required job
id: required_job_conclusion id: required_job_conclusion
uses: actions/github-script@v7 uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
...@@ -95,7 +95,7 @@ jobs: ...@@ -95,7 +95,7 @@ jobs:
steps: steps:
- name: Check conclusion of required job - name: Check conclusion of required job
id: required_job_conclusion id: required_job_conclusion
uses: actions/github-script@v7 uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
continue-on-error: true continue-on-error: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
...@@ -15,7 +15,7 @@ jobs: ...@@ -15,7 +15,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -32,14 +32,14 @@ jobs: ...@@ -32,14 +32,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -76,7 +76,7 @@ jobs: ...@@ -76,7 +76,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -93,14 +93,14 @@ jobs: ...@@ -93,14 +93,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
......
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
steps: steps:
- name: Check whether head commit is a stable release - name: Check whether head commit is a stable release
id: precheck id: precheck
uses: actions/github-script@v7 uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with: with:
script: | script: |
if (context.eventName === 'workflow_dispatch') { if (context.eventName === 'workflow_dispatch') {
...@@ -61,7 +61,7 @@ jobs: ...@@ -61,7 +61,7 @@ jobs:
core.setOutput('should_dispatch', 'false') core.setOutput('should_dispatch', 'false')
core.setOutput('reason', 'Head commit is not a stable release commit') core.setOutput('reason', 'Head commit is not a stable release commit')
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: steps.precheck.outputs.should_evaluate == 'true' if: steps.precheck.outputs.should_evaluate == 'true'
with: with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || 'canary' }} ref: ${{ github.event_name == 'workflow_dispatch' && github.ref_name || 'canary' }}
...@@ -69,7 +69,7 @@ jobs: ...@@ -69,7 +69,7 @@ jobs:
- name: Setup node - name: Setup node
if: steps.precheck.outputs.should_evaluate == 'true' if: steps.precheck.outputs.should_evaluate == 'true'
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
...@@ -87,7 +87,7 @@ jobs: ...@@ -87,7 +87,7 @@ jobs:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
if: steps.precheck.outputs.should_evaluate == 'true' if: steps.precheck.outputs.should_evaluate == 'true'
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -122,7 +122,7 @@ jobs: ...@@ -122,7 +122,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -130,7 +130,7 @@ jobs: ...@@ -130,7 +130,7 @@ jobs:
repositories: next.js repositories: next.js
permission-actions: write permission-actions: write
- uses: actions/github-script@v7 - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with: with:
github-token: ${{ steps.release-app-token.outputs.token }} github-token: ${{ steps.release-app-token.outputs.token }}
script: | script: |
......
...@@ -31,13 +31,13 @@ jobs: ...@@ -31,13 +31,13 @@ jobs:
if: inputs.os == 'windows' if: inputs.os == 'windows'
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Setup Rust - name: Setup Rust
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
......
...@@ -52,7 +52,7 @@ jobs: ...@@ -52,7 +52,7 @@ jobs:
next-version: ${{ steps.version.outputs.value }} next-version: ${{ steps.version.outputs.value }}
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -63,7 +63,7 @@ jobs: ...@@ -63,7 +63,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
...@@ -232,7 +232,7 @@ jobs: ...@@ -232,7 +232,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Report test results to datadog name: Report test results to datadog
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
sparse-checkout: | sparse-checkout: |
.github .github
...@@ -271,10 +271,10 @@ jobs: ...@@ -271,10 +271,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20.9.0 node-version: 20.9.0
check-latest: true check-latest: true
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
if: github.repository_owner == 'vercel' if: github.repository_owner == 'vercel'
steps: steps:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -38,7 +38,7 @@ jobs: ...@@ -38,7 +38,7 @@ jobs:
corepack enable corepack enable
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
matrix: matrix:
node: [20, 22] node: [20, 22]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
fetch-depth: 25 fetch-depth: 25
# https://github.com/actions/virtual-environments/issues/1187 # https://github.com/actions/virtual-environments/issues/1187
...@@ -35,7 +35,7 @@ jobs: ...@@ -35,7 +35,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
......
...@@ -47,14 +47,14 @@ jobs: ...@@ -47,14 +47,14 @@ jobs:
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: 20 node-version: 20
check-latest: true check-latest: true
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -111,7 +111,7 @@ jobs: ...@@ -111,7 +111,7 @@ jobs:
- id: get-store-path - id: get-store-path
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v4 - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
timeout-minutes: 5 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
......
...@@ -35,7 +35,7 @@ jobs: ...@@ -35,7 +35,7 @@ jobs:
name: Benchmark Rust Crates (small apps) name: Benchmark Rust Crates (small apps)
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
...@@ -70,7 +70,7 @@ jobs: ...@@ -70,7 +70,7 @@ jobs:
name: Benchmark Rust Crates (analyzer) name: Benchmark Rust Crates (analyzer)
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
...@@ -106,7 +106,7 @@ jobs: ...@@ -106,7 +106,7 @@ jobs:
if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }} if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest-16-core-oss runs-on: ubuntu-latest-16-core-oss
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: ./.github/actions/setup-rust uses: ./.github/actions/setup-rust
......
...@@ -15,7 +15,7 @@ jobs: ...@@ -15,7 +15,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -32,14 +32,14 @@ jobs: ...@@ -32,14 +32,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -72,7 +72,7 @@ jobs: ...@@ -72,7 +72,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -89,14 +89,14 @@ jobs: ...@@ -89,14 +89,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
......
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -34,14 +34,14 @@ jobs: ...@@ -34,14 +34,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
......
...@@ -23,7 +23,7 @@ jobs: ...@@ -23,7 +23,7 @@ jobs:
steps: steps:
- name: Create GitHub App token - name: Create GitHub App token
id: release-app-token id: release-app-token
uses: actions/create-github-app-token@v3 uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with: with:
client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }} client-id: ${{ vars.RELEASE_GITHUB_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }} private-key: ${{ secrets.RELEASE_GITHUB_APP_PRIVATE_KEY }}
...@@ -40,14 +40,14 @@ jobs: ...@@ -40,14 +40,14 @@ jobs:
GH_TOKEN: ${{ steps.release-app-token.outputs.token }} GH_TOKEN: ${{ steps.release-app-token.outputs.token }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with: with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows. # Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ steps.release-app-token.outputs.token }} token: ${{ steps.release-app-token.outputs.token }}
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
......
...@@ -32,7 +32,7 @@ jobs: ...@@ -32,7 +32,7 @@ jobs:
- name: Check whether this version was already seen - name: Check whether this version was already seen
id: cache id: cache
uses: actions/cache@v4 uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with: with:
# The key encodes the version. Cache hit = already processed; cache miss = new version. # The key encodes the version. Cache hit = already processed; cache miss = new version.
# The path just needs to exist so the post-step can save the cache entry on a miss. # The path just needs to exist so the post-step can save the cache entry on a miss.
......
...@@ -19,13 +19,13 @@ jobs: ...@@ -19,13 +19,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup corepack - name: Setup corepack
run: | run: |
......
...@@ -24,7 +24,7 @@ jobs: ...@@ -24,7 +24,7 @@ jobs:
environment: preview-builds environment: preview-builds
steps: steps:
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with: with:
node-version: ${{ env.NODE_LTS_VERSION }} node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true check-latest: true
...@@ -32,7 +32,7 @@ jobs: ...@@ -32,7 +32,7 @@ jobs:
# Checkout from the default branch (canary) -- workflow_run always uses # Checkout from the default branch (canary) -- workflow_run always uses
# the default branch's version of the workflow file and this checkout # the default branch's version of the workflow file and this checkout
# matches that, ensuring the upload script is trusted. # matches that, ensuring the upload script is trusted.
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
ref: ${{ github.event.repository.default_branch }} ref: ${{ github.event.repository.default_branch }}
fetch-depth: 1 fetch-depth: 1
...@@ -44,7 +44,7 @@ jobs: ...@@ -44,7 +44,7 @@ jobs:
run: corepack prepare run: corepack prepare
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v3 uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{ key: ${{ runner.os }}-${{ runner.arch }}-pnpm-v2-${{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment