Merge pull request #519 from docker/bot/buildx-lab-releases-json #1009
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: codeql | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Enable corepack | |
run: | | |
corepack enable | |
yarn --version | |
- | |
name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- | |
name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript-typescript | |
- | |
name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- | |
name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:javascript-typescript" |