feat: add support for 'Stabilized' email notifications and enhance tr… #19
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: SAST Scan | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| - enhancements | |
| pull_request: | |
| branches: | |
| - master | |
| - develop | |
| - enhancements | |
| workflow_dispatch: | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| concurrency: | |
| group: sast-scan-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| codeql: | |
| name: CodeQL (C#) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET 8 SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: csharp | |
| build-mode: manual | |
| - name: Restore dependencies | |
| run: dotnet restore ApiHealthDashboard.sln | |
| - name: Build solution | |
| run: dotnet build ApiHealthDashboard.sln -c Release --no-restore | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: /language:csharp |