Skip to content

chore(deps): bump github/codeql-action from 3 to 4 #48

chore(deps): bump github/codeql-action from 3 to 4

chore(deps): bump github/codeql-action from 3 to 4 #48

Workflow file for this run

name: CodeQL Security Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
# Run at 00:00 UTC every Monday
- cron: '0 0 * * 1'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'python', 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: security-extended,security-and-quality
- name: Set up Python
if: matrix.language == 'python'
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Python dependencies
if: matrix.language == 'python'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up Node.js
if: matrix.language == 'javascript'
uses: actions/setup-node@v6
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: ui/package-lock.json
- name: Install UI dependencies
if: matrix.language == 'javascript'
run: |
cd ui
npm ci
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4