Skip to content

Enable DependaBot & CodeQL #1

Enable DependaBot & CodeQL

Enable DependaBot & CodeQL #1

Workflow file for this run

name: CodeQL
on:
push: { branches: [ "main" ] }
pull_request: { branches: [ "main" ] }
schedule:
- cron: "0 3 * * 1" # weekly
jobs:
analyze:
permissions:
contents: read
security-events: write
actions: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ "csharp" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3