From 92e4f6d24462f71842ce0f9298d9c4a564ddc984 Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Sun, 5 Apr 2026 04:28:03 +0300 Subject: [PATCH 1/2] chore(ci): add `CodeQL` --- .github/workflows/codeql.yml | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000000..17b2876137 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,57 @@ +name: CodeQL + +on: + pull_request: + branches: + - master + push: + branches: + - master + schedule: + - cron: "23 4 * * 1" + workflow_dispatch: + +concurrency: + group: codeql-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: { } + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ubicloud-standard-4-ubuntu-2204 + strategy: + fail-fast: false + matrix: + include: + - language: rust + build-mode: none + - language: javascript-typescript + build-mode: none + + permissions: + actions: read + contents: read + security-events: write + + steps: + - name: Check out Acton repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + + - name: Install Rust + if: matrix.language == 'rust' + run: rustup toolchain install + + - name: Initialize CodeQL + uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + with: + build-mode: ${{ matrix.build-mode }} + languages: ${{ matrix.language }} + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1 + with: + category: /language:${{ matrix.language }} From ca1813ab960506cef1dbec06b92de74e238f165d Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Sun, 5 Apr 2026 15:43:06 +0300 Subject: [PATCH 2/2] fix --- .github/workflows/codeql.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 17b2876137..ce5d4ca88c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -8,7 +8,8 @@ on: branches: - master schedule: - - cron: "23 4 * * 1" + # 00:00 Europe/Moscow every Monday (21:00 UTC) + - cron: "0 21 * * 0" workflow_dispatch: concurrency: