TidGi-Desktop/.github/workflows/codeql-analysis.yml
lin onetwo 6700c62243
test: codeql for wikioperation (#647)
* test: codeql for wikioperation

* test: codeql not find suite

* Move CodeQL analysis to dedicated workflow

Extracted the CodeQL security analysis job from test.yml into a new codeql-analysis.yml workflow file for better separation of concerns and maintainability.

* Update codeql-analysis.yml

* de

* 。
2025-10-24 16:40:32 +08:00

42 lines
899 B
YAML

name: "CodeQL Security Analysis"
on:
push:
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@v3
with:
languages: javascript-typescript
config-file: ./.github/codeql/codeql-config.yml
queries: +./.github/codeql
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript-typescript"