chore(deps): update mcr.microsoft.com/dotnet/sdk:8.0.413 docker digest to 7fd287c #121
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| branches: [ main ] | |
| schedule: | |
| - cron: '0 6 * * MON' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| analysis: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'actions', 'csharp' ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| filter: 'tree:0' | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 | |
| with: | |
| build-mode: none | |
| languages: ${{ matrix.language }} | |
| queries: security-and-quality | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 | |
| with: | |
| category: '/language:${{ matrix.language }}' | |
| codeql: | |
| if: ${{ !cancelled() }} | |
| needs: [ analysis ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Report status | |
| shell: bash | |
| env: | |
| SCAN_SUCCESS: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }} | |
| run: | | |
| if [ "${SCAN_SUCCESS}" == "true" ] | |
| then | |
| echo 'CodeQL analysis successful ✅' | |
| else | |
| echo 'CodeQL analysis failed ❌' | |
| exit 1 | |
| fi |