Skip to content

Commit 00be92e

Browse files
add sarif generation
1 parent 23370d1 commit 00be92e

File tree

2 files changed

+16
-40
lines changed

2 files changed

+16
-40
lines changed

.github/workflows/generate-sarif.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,19 @@ jobs:
3636
- run: npm publish --provenance
3737
env:
3838
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
40+
generate_sarif_report:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
- name: actions/setup
45+
uses: ./.github/actions/setup
46+
47+
- name: "Generate Sarif Report"
48+
uses: "alcaeus/drivers-github-tools/code-scanning-export@export-code-scanning-report"
49+
with:
50+
ref: main
51+
52+
- name: 'Print (TODO - upload to s3 instead)'
53+
shell: bash
54+
run: cat code-scanning-alerts.json

0 commit comments

Comments
 (0)