Skip to content

Commit 70c09a6

Browse files
authored
fix Codeql.yml
1 parent 9fd0e65 commit 70c09a6

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/Codeql.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL Python Security Scan (Top-N + PR Comment)"
1+
name: "CodeQL Python Security Scan (Top-N)"
22

33
on:
44
pull_request:
@@ -35,20 +35,3 @@ jobs:
3535
uses: github/codeql-action/analyze@v3
3636
with:
3737
upload: true
38-
39-
- name: Comment CodeQL Alerts on PR
40-
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
41-
uses: marocchino/sticky-pull-request-comment@v2
42-
with:
43-
path: results.sarif
44-
header: "### :shield: CodeQL Python Security Alerts Summary"
45-
layout: "group-by-file"
46-
format: "markdown-table"
47-
sort-severity: true
48-
highlight: "Critical,High"
49-
collapse: "Medium,Low"
50-
max-items-per-file: 5
51-
show-summary: true
52-
show-file-overview: true
53-
overflow-text: "+{remaining} more alerts in this file"
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)