mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update codeql-analysis.yml
This commit is contained in:
parent
d4404b6a3e
commit
546a0743de
1 changed files with 12 additions and 6 deletions
18
.github/workflows/codeql-analysis.yml
vendored
18
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -2,12 +2,19 @@ name: "CodeQL Security Analysis"
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master", "try/codeql" ]
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- "docs/**"
|
||||
- ".vscode"
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
schedule:
|
||||
# 每周一凌晨 2 点运行(可选)
|
||||
- cron: '0 2 * * 1'
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "README.md"
|
||||
- ".vscode"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
|
@ -35,4 +42,3 @@ jobs:
|
|||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:javascript-typescript"
|
||||
# 结果会自动上传到 Security > Code scanning alerts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue