🗑️ Remove manual CodeQL workflow

- Removed .github/workflows/codeql.yml
- Code scanning must be enabled via GitHub UI
- Go to: Settings → Security → Code security and analysis → Code scanning → Set up
- GitHub will create the workflow automatically
This commit is contained in:
Dennis Konkol
2025-09-05 23:30:21 +00:00
parent 248580b533
commit bec5ed0f8f

View File

@@ -1,46 +0,0 @@
name: "CodeQL"
on:
push:
branches: [ "production" ]
pull_request:
branches: [ "production" ]
schedule:
- cron: '0 0 * * 0' # Weekly scan
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"