Skip to content

CodeQL

CodeQL #5

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
paths:
- config.example.js
- src/**
pull_request:
branches:
- main
paths:
- config.example.js
- src/**
schedule:
- cron: 0 8 1,15 * *
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
timeout-minutes: 10
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- javascript
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.x
architecture: x64
- name: Setup CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"