File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 1- name: "CodeQL Python Security Scan (Top-N + PR Comment )"
1+ name: "CodeQL Python Security Scan (Top-N)"
22
33on:
44 pull_request:
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 }}
You can’t perform that action at this time.
0 commit comments