Merge pull request #199 from gabrielweyer/dependabot/nuget/xunit-0445… #326
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "C# Security scanning" | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- .github/workflows/build.yml | |
- .github/workflows/skipped-build.yml | |
- .github/CODEOWNERS | |
- .github/dependabot.yml | |
- '.vscode/**' | |
- .editorconfig | |
- LICENSE | |
- README.md | |
schedule: | |
- cron: '39 13 * * 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 |