Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

CodeQL

CodeQL #1611

name: "CodeQL"
on:
push:
branches: [master, bachelor-versjon, demo]
pull_request:
branches: [master]
paths:
- "src/**"
- "tests/**"
schedule:
- cron: "36 15 * * 6"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript", "python"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yaml
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2