Merge pull request #4645 from GitTools/dependabot/github_actions/acti… #100
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: Qodana | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - 'fix/*' | |
| - 'feature/*' | |
| jobs: | |
| qodana: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| checks: write | |
| steps: | |
| - | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| - | |
| name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: global.json | |
| - | |
| name: 'Qodana Scan' | |
| uses: jetbrains/[email protected] | |
| with: | |
| args: --baseline,qodana.sarif.json | |
| cache-default-branch-only: true | |
| pr-mode: true | |
| env: | |
| QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |