Skip to content

Commit 94acfdc

Browse files
committed
Upload SARIF with ref/sha inputs: Generate SARIF with analyze Action
1 parent ba4e487 commit 94acfdc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/__upload-ref-sha-input.yml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/upload-ref-sha-input.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ steps:
1010
- name: Build code
1111
shell: bash
1212
run: ./build.sh
13+
# Generate some SARIF we can upload with the upload-sarif step
14+
- uses: ./../action/analyze
15+
with:
16+
ref: 'refs/heads/main'
17+
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
18+
upload: never
1319
- uses: ./../action/upload-sarif
1420
with:
1521
ref: 'refs/heads/main'

0 commit comments

Comments
 (0)