diff options
| author | Leitwolf11 | 2026-09-26 16:57:14 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-09-26 16:57:14 +0300 |
| commit | 5d960b7b8a4164964e28e299d2b66cd795badf0a (patch) | |
| tree | a2731c8bc7e9d03af09e9f6c081c000c99ef597b /.github/workflows/codeql.yml | |
| parent | 543ef6b0271f75e842e85051a92c897a993eacda (diff) | |
| download | website-5d960b7b8a4164964e28e299d2b66cd795badf0a.tar.gz | |
Add website code scanning, dependency updates and frontend and Kotlin coverage
Diffstat (limited to '.github/workflows/codeql.yml')
| -rw-r--r-- | .github/workflows/codeql.yml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..2088ed7 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> +# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 + +name: CodeQL +on: + push: + branches: [main] + pull_request: + schedule: + - cron: '43 4 * * 1' +permissions: + actions: read + contents: read + security-events: write +jobs: + analyze: + name: ${{ matrix.language }} + runs-on: macos-15 + timeout-minutes: 45 + strategy: + fail-fast: false + matrix: + include: + - language: actions + build_mode: none + - language: javascript-typescript + build_mode: none + - language: java-kotlin + build_mode: manual + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-java@v6 + if: matrix.language == 'java-kotlin' + with: + distribution: temurin + java-version: '25' + - uses: gradle/actions/setup-gradle@v6 + if: matrix.language == 'java-kotlin' + with: + gradle-version: '9.6.0' + - uses: github/codeql-action/init@7999b86c43a865dc79d8923397f35af22de63401 # v4 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build_mode }} + config-file: ./.github/codeql/codeql-config.yml + queries: security-extended + - name: Build Kotlin backend for extraction + if: matrix.language == 'java-kotlin' + run: gradle classes --no-daemon + working-directory: backend + - uses: github/codeql-action/analyze@7999b86c43a865dc79d8923397f35af22de63401 # v4 + with: + category: /language:${{ matrix.language }} + |