From ed169b4c8ce1091586d9a080209e5881a49c0299 Mon Sep 17 00:00:00 2001 From: lockbitchat Date: Sun, 19 Oct 2025 22:02:28 -0400 Subject: [PATCH] Add CodeQL security scanning workflow --- .github/workflows/codeql-analysis.yml | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..fae88f9 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,34 @@ +name: "CodeQL Analysis" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '0 3 * * *' + +jobs: + analyze: + name: Analyze CodeQL + 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 + + # 3. Автоматическая сборка (если есть) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # 4. Анализ кода с помощью CodeQL + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2