diff options
Diffstat (limited to '.github/workflows/mnv-codeql.yml')
| -rw-r--r-- | .github/workflows/mnv-codeql.yml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.github/workflows/mnv-codeql.yml b/.github/workflows/mnv-codeql.yml new file mode 100644 index 0000000000..0cad996fa1 --- /dev/null +++ b/.github/workflows/mnv-codeql.yml @@ -0,0 +1,49 @@ +name: "mnv: CodeQL" + +on: + push: + branches: [master] + paths: + - 'mnv/**' + pull_request: + branches: [master] + paths: + - 'mnv/**' + schedule: + - cron: '0 18 * * 1' + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + analyze: + permissions: + contents: read + security-events: write + + name: Analyze + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + language: ['cpp', 'python'] + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v4 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 |
