Skip to content

CodeQL

CodeQL #20

name: CodeQL
on:
push:
branches: [ mainstream ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ mainstream ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
schedule:
- cron: '41 9 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
- name: Build Sigourney
run: dotnet build src/Sigourney/Sigourney.csproj
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3