TidGi-Desktop/.github/workflows/codeql.yml
linonetwo d00e336d14 refactor(e2e): move calibration to prepare step, remove FORCE_JAVASCRIPT_ACTIONS_TO_NODE24
- Move calibration preflight from test:e2e to test:prepare-e2e so
  calibration runs during preparation, not during tests.
- Remove rimraf/developmentMkdir duplication from test:e2e.
- Increase Prepare E2E timeout to 15min to accommodate calibration.
- Remove FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 workaround; actions will
  update to Node.js 24 naturally before September 2026 deprecation.
2026-05-15 19:18:47 +08:00

44 lines
928 B
YAML

name: "CodeQL Security Analysis"
on:
push:
branches:
- master
tags:
- "v*.*.*"
paths-ignore:
- "README.md"
- "docs/**"
- ".vscode"
pull_request:
branches:
- master
paths-ignore:
- "docs/**"
- "README.md"
- ".vscode"
jobs:
analyze:
name: Analyze JavaScript/TypeScript
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: javascript-typescript
config-file: ./.github/codeql/codeql-config.yml
queries: +./.github/codeql
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:javascript-typescript"