Skip to content

C# security scanning #444

C# security scanning

C# security scanning #444

name: "C# security scanning"
on:
push:
branches:
- main
paths-ignore:
- .github/workflows/build.yml
- .github/workflows/skipped-build.yml
- '.vscode/**'
- 'deploy/**'
- 'docs/**'
- build.ps1
- build.sh
- CONTRIBUTING.md
- LICENSE
- README.md
schedule:
- cron: '25 17 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
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