ci: pin more action dependencies to hash (#21330)

This commit is contained in:
StepSecurity Bot 2023-06-02 12:35:13 -07:00 committed by GitHub
parent 0fe876f650
commit 63cf6a5d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,9 +73,9 @@ jobs:
- build - build
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- run: corepack enable - run: corepack enable
- uses: actions/setup-node@v3 - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with: with:
node-version: 20 node-version: 20
cache: "pnpm" cache: "pnpm"
@ -84,19 +84,19 @@ jobs:
run: pnpm install run: pnpm install
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
with: with:
languages: javascript languages: javascript
queries: +security-and-quality queries: +security-and-quality
- name: Restore dist cache - name: Restore dist cache
uses: actions/download-artifact@v3 uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with: with:
name: dist name: dist
path: packages path: packages
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@83f0fe6c4988d98a455712a27f0255212bba9bd4 # v2.3.6
with: with:
category: "/language:javascript" category: "/language:javascript"