Update README.md #46
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 | |
| # Restricted-trigger custom workflow (Рычаг 2). Default Setup is | |
| # intentionally left `not-configured` because it cannot disable the | |
| # weekly schedule or PR triggers via API; only a custom workflow gives | |
| # full control. See .github/codeql/README.md for the policy and the | |
| # May 2026 incident that led to the restrictions. | |
| on: | |
| push: | |
| branches: [develop] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: codeql-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| analyze: | |
| name: Analyze (CodeQL) | |
| runs-on: ubuntu-latest | |
| # 15m total cap covers compile + analyze. Higher than the 5m | |
| # baseline because CodeQL semantic analysis needs the project to | |
| # build first; historical runs sat around 7-9m wall-clock. | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [csharp] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| timeout-minutes: 3 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 | |
| timeout-minutes: 3 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - uses: github/codeql-action/init@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1 | |
| timeout-minutes: 3 | |
| with: | |
| languages: ${{ matrix.language }} | |
| config-file: ./.github/codeql/codeql-config.yml | |
| - uses: github/codeql-action/autobuild@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1 | |
| timeout-minutes: 5 | |
| - uses: github/codeql-action/analyze@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1 | |
| timeout-minutes: 5 |