Skip to content

chore: switch SAST from semgrep to CodeQL and update Node workflows t… #11

chore: switch SAST from semgrep to CodeQL and update Node workflows t…

chore: switch SAST from semgrep to CodeQL and update Node workflows t… #11

Workflow file for this run

name: Static code analysis
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
schedule:
# Run every day at 5am and 5pm
- cron: '0 5,17 * * *'
permissions: read-all
jobs:
analyze:
name: CodeQL analysis
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript-typescript]
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Initialize CodeQL
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
- name: Analyze
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8