blob: e52f79b24609722ae51cc8c74518cef79e19f2d0 [file]
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '0 9 * * 5'
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
# Required to post the results of the scan
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v7
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
# GitHub Actions and Javascript CodeQL components are strongly related, so we use them together
languages: "actions,javascript"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4