chore: resolve remaining analyzer warnings (CA1068, CA1311, CA1859, CA1861, CA2012, RCS1075, RCS1102) and suppress naming rules (CA1711, CA1720) #641
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: Pull Request | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - "release/**" | |
| paths: | |
| - "src/**" | |
| - "**/*.sln" | |
| - "**/*.csproj" | |
| - "**/*.props" | |
| - "**/*.targets" | |
| - "Directory.Packages.props" | |
| - "Directory.Build.props" | |
| - "global.json" | |
| - "nuget.config" | |
| - "GitVersion.yml" | |
| - ".config/dotnet-tools.json" | |
| - ".github/workflows/**" | |
| - ".github/actions/**" | |
| - "!**/*.md" | |
| permissions: | |
| contents: read | |
| actions: read | |
| jobs: | |
| build-and-test: | |
| # Skip workflow when merging from release branch into main | |
| if: | | |
| !(github.base_ref == 'main' && startsWith(github.head_ref, 'release/')) | |
| uses: ./.github/workflows/build-test.yml | |
| with: | |
| draft-check: true |