From 69fa5ffc28d144a890b812324a635ea56be1cf10 Mon Sep 17 00:00:00 2001 From: lockbitchat Date: Sun, 19 Oct 2025 22:04:07 -0400 Subject: [PATCH] Add CodeQL security scanning workflow --- .github/workflows/codeql-analysis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index fae88f9..09e17b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,11 +2,11 @@ name: "CodeQL Analysis" on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] schedule: - - cron: '0 3 * * *' + - cron: '0 3 * * *' jobs: analyze: @@ -14,21 +14,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: - languages: - - javascript - - typescript + languages: javascript,typescript - # 3. Автоматическая сборка (если есть) - name: Autobuild uses: github/codeql-action/autobuild@v2 - # 4. Анализ кода с помощью CodeQL - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2