Skip to content

Commit fced3e2

Browse files
committed
fix
1 parent d7d537a commit fced3e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/security-default-branch.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ jobs:
5454
id: semgrep
5555
with:
5656
show_results_in_pr: false
57-
results_format: json
57+
results_format: sarif
5858
- uses: KittyCAD/gha-workflows/.github/actions/upload-defectdojo@security
5959
with:
6060
dd_token: ${{ secrets.DEFECTDOJO_API_TOKEN }}
6161
report_path: ${{ steps.semgrep.outputs.results_file_path }}
62-
scan_type: Semgrep JSON Report
62+
scan_type: SARIF
63+
#scan_type: Semgrep JSON Report
6364
engagement: Semgrep
6465

6566
zizmor:
@@ -93,6 +94,7 @@ jobs:
9394
id: scorecard
9495
with:
9596
gh_token: ${{ secrets.GITHUB_TOKEN }}
97+
- run: git checkout main # Ensure we are on default branch
9698
- uses: KittyCAD/gha-workflows/.github/actions/upload-defectdojo@security
9799
with:
98100
dd_token: ${{ secrets.DEFECTDOJO_API_TOKEN }}

0 commit comments

Comments
 (0)