Skip to content

Commit df0e8f3

Browse files
committed
add sarif comment posting
1 parent d088721 commit df0e8f3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/zizmor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,15 @@ jobs:
5353
uses: github/codeql-action/upload-sarif@v3
5454
with:
5555
sarif_file: results.sarif
56+
57+
- name: Post SARIF findings in the pull request
58+
if: github.event_name == 'pull_request'
59+
uses: sett-and-hive/[email protected]
60+
with:
61+
token: ${{ secrets.GITHUB_TOKEN }}
62+
repository: ${{ github.repository }}
63+
branch: ${{ github.head_ref }}
64+
pr-number: ${{ github.event.number }}
65+
sarif-file: results.sarif
66+
title: Zizmor Findings
67+
dry-run: false

0 commit comments

Comments
 (0)