fix: hide corner badges in PDF, gold view-plan icon, codeql.yml parse #91
This file contains hidden or 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 Advanced" | |
| on: | |
| push: | |
| branches: [ "master", "main" ] | |
| pull_request: | |
| branches: [ "master", "main" ] | |
| schedule: | |
| - cron: '23 15 * * 0' | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| analyze: | |
| name: Analyze (csharp) | |
| runs-on: windows-latest | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 8 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: csharp | |
| build-mode: manual | |
| queries: security-extended | |
| # csproj hardcodes <RuntimeIdentifier>win-x64</RuntimeIdentifier>, so | |
| # restore must include the win-x64 runtime pack — otherwise NETSDK1112. | |
| - name: Restore | |
| shell: bash | |
| run: dotnet restore SQLTriage.sln -r win-x64 | |
| - name: Build | |
| shell: bash | |
| run: dotnet build SQLTriage.sln -c Debug --no-restore | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:csharp" |