Merge pull request #256 from crazy-max/codeql
Some checks failed
ci / version (tonistiigi/binfmt:latest) (push) Has been cancelled
ci / version (tonistiigi/binfmt:qemu-v7.0.0) (push) Has been cancelled
ci / default (push) Has been cancelled
codeql / analyze (push) Has been cancelled
ci / version (tonistiigi/binfmt:master) (push) Has been cancelled
test / test (push) Has been cancelled
validate / prepare (push) Has been cancelled
ci / main (tonistiigi/binfmt:latest, all) (push) Has been cancelled
ci / main (tonistiigi/binfmt:latest, arm64,riscv64,arm) (push) Has been cancelled
ci / main (tonistiigi/binfmt:master, all) (push) Has been cancelled
ci / main (tonistiigi/binfmt:master, arm64,riscv64,arm) (push) Has been cancelled
ci / error (push) Has been cancelled
ci / cache-image (false) (push) Has been cancelled
ci / cache-image (true) (push) Has been cancelled
validate / validate (push) Has been cancelled

ci: enable SAST scanning with CodeQL
This commit is contained in:
CrazyMax 2026-03-20 16:57:34 +01:00 committed by GitHub
commit 6632d370ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

45
.github/workflows/codeql.yml vendored Normal file
View file

@ -0,0 +1,45 @@
name: codeql
on:
push:
branches:
- 'master'
- 'releases/v*'
pull_request:
permissions:
actions: read
contents: read
security-events: write
env:
NODE_VERSION: "24"
jobs:
analyze:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Enable corepack
run: |
corepack enable
yarn --version
-
name: Set up Node
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:javascript-typescript"