Update to ASP.NET Core 10 RC2 #59
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: code-scan | |
| on: | |
| push: | |
| branches: [ dev* ] | |
| pull_request: | |
| branches: [ dev* ] | |
| schedule: | |
| - cron: '0 12 * * MON' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| code-ql: | |
| 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@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8 | |
| with: | |
| build-mode: none | |
| languages: ${{ matrix.language }} | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8 | |
| with: | |
| category: '/language:${{ matrix.language }}' | |
| zizmor: | |
| runs-on: ubuntu-latest | |
| env: | |
| ZIZMOR_VERSION: '1.13.0' | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| filter: 'tree:0' | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Scan workflows with zizmor | |
| uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0 | |
| with: | |
| version: ${{ env.ZIZMOR_VERSION }} |