Skip to content

Commit 2aaaab7

Browse files
committed
security: fix critical CodeQL unsafe quoting alerts
Change-Id: I88e068f2438900c476a41b071df0e2ce387d8779 Signed-off-by: EndlessSeeker <1766508902@qq.com>
1 parent c8b8279 commit 2aaaab7

5 files changed

Lines changed: 217 additions & 834 deletions

File tree

‎.github/workflows/codeql-analysis.yaml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
name: "CodeQL"
1313

1414
on:
15+
push:
16+
branches: [ 'main' ]
17+
pull_request:
18+
branches: [ 'main' ]
1519
schedule:
1620
- cron: '36 19 * * 6'
1721

@@ -38,7 +42,7 @@ jobs:
3842

3943
# step 2: Initializes the CodeQL tools for scanning.
4044
- name: "Initialize CodeQL"
41-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v4
4246
with:
4347
languages: ${{ matrix.language }}
4448
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +54,7 @@ jobs:
5054
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5155
# If this step fails, then you should remove it and run the build manually (see below)
5256
- name: "Autobuild"
53-
uses: github/codeql-action/autobuild@v2
57+
uses: github/codeql-action/autobuild@v4
5458

5559
# step 4
5660
# ℹ️ Command-line programs to run using the OS shell.
@@ -66,4 +70,4 @@ jobs:
6670

6771
# step 5
6872
- name: "Perform CodeQL Analysis"
69-
uses: github/codeql-action/analyze@v2
73+
uses: github/codeql-action/analyze@v4

‎plugins/golang-filter/mcp-server/servers/higress/nginx-migration/Makefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ help:
5353
@echo ""
5454
@echo "目录结构:"
5555
@echo " cmd/standalone/ - 独立模式入口"
56-
@echo " internal/standalone/ - 独立模式实现"
56+
@echo " standalone/ - 独立模式实现"
5757
@echo " integration/ - Higress MCP 框架集成"
5858
@echo " tools/ - 共享核心逻辑"
59-

0 commit comments

Comments
 (0)