Skip to content

Commit dd974b3

Browse files
committed
codeql
Signed-off-by: Anas Nashif <[email protected]>
1 parent 124af1f commit dd974b3

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/coding_guidelines.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,8 @@ jobs:
5353
pip3 install simple-sarif
5454
./scripts/ci/guideline_check.py --sarif results.sarif -c origin/${BASE_REF}..
5555
56-
- name: Post SARIF findings in the pull request
57-
if: github.event_name == 'pull_request'
58-
uses: sett-and-hive/sarif-to-comment-action@v2.0.1
56+
- name: Upload Analysis Results
57+
if: always()
58+
uses: github/codeql-action/upload-sarif@v3
5959
with:
60-
token: ${{ secrets.GITHUB_TOKEN }}
61-
repository: ${{ github.repository }}
62-
branch: ${{ github.head_ref }}
63-
pr-number: ${{ github.event.number }}
64-
sarif-file: results.sarif
65-
title: My security issue
66-
dry-run: false
60+
sarif_file: results.sarif

0 commit comments

Comments
 (0)