We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cde8e8 commit c2d5bb2Copy full SHA for c2d5bb2
1 file changed
.github/workflows/codeql.yml
@@ -0,0 +1,19 @@
1
+name: CodeQL
2
+on:
3
+ push:
4
+ branches: [ main, fix/cve ] # 你要扫描的分支
5
+ pull_request:
6
+ branches: [ main, fix/cve ]
7
+ schedule:
8
+ - cron: '30 2 * * *'
9
+
10
+jobs:
11
+ analyze:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ security-events: write
15
+ contents: read
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: github/codeql-action/init@v3
19
+ - uses: github/codeql-action/analyze@v3
0 commit comments