diff --git a/.github/workflows/release-typescript.yml b/.github/workflows/release-typescript.yml index 0f8fe17a1..0a3c5f1e0 100644 --- a/.github/workflows/release-typescript.yml +++ b/.github/workflows/release-typescript.yml @@ -76,17 +76,17 @@ jobs: git fetch origin main git merge-base --is-ancestor "$GITHUB_SHA" origin/main + # Node 24 bundles npm 11.16, past the 11.5.1 that OIDC trusted publishing + # requires. Publishing therefore uses the npm shipped in the verified Node + # tarball rather than installing one from the registry at release time. - name: Setup Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 # zizmor: ignore[cache-poisoning] -- cache is branch-isolated; fork PRs cannot write to this cache with: - node-version: '22' + node-version: '24' registry-url: 'https://registry.npmjs.org' cache: 'npm' cache-dependency-path: typescript/package-lock.json - - name: Upgrade npm for OIDC trusted publishing - run: npm install -g npm@latest - - name: Install dependencies run: npm ci diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index cbd8e5e26..3b3ffbf56 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -25,7 +25,7 @@ jobs: persist-credentials: false - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.35.0 + uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0 with: scan-type: 'fs' scan-ref: './go' @@ -56,7 +56,7 @@ jobs: persist-credentials: false - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.35.0 + uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0 with: scan-type: 'fs' scan-ref: './typescript' @@ -175,7 +175,7 @@ jobs: persist-credentials: false - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.35.0 + uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0 with: scan-type: 'fs' scan-ref: './ruby' @@ -215,7 +215,7 @@ jobs: working-directory: ruby - name: Install bundler-audit - run: gem install bundler-audit + run: gem install bundler-audit # zizmor: ignore[adhoc-packages] -- bundler-audit is the auditing tool itself; adding it to the SDK's Gemfile would make the gem under audit depend on its own auditor - name: Update vulnerability database run: bundle-audit update