Remove superfluous issues permission on publish-test-results workflow… #13
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: "CodeQL" | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
schedule: | |
- cron: "0 8 * * 6" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: windows-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [actions, csharp, javascript, python] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
queries: +security-and-quality | |
- name: Build C# | |
run: dotnet build -bl:build.binlog -c Release | |
if: ${{ matrix.language == 'csharp' }} | |
- name: Autobuild everything else | |
uses: github/codeql-action/autobuild@v3 | |
if: ${{ matrix.language != 'csharp' }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{ matrix.language }}" |