Upload SARIF with ref/sha inputs: Generate SARIF with analyze Action

This commit is contained in:
Henry Mercer
2024-06-11 20:22:17 +01:00
parent ba4e487a2c
commit 94acfdc22c
2 changed files with 12 additions and 0 deletions

View File

@@ -70,6 +70,12 @@ jobs:
- name: Build code
shell: bash
run: ./build.sh
# Generate some SARIF we can upload with the upload-sarif step
- uses: ./../action/analyze
with:
ref: refs/heads/main
sha: 5e235361806c361d4d3f8859e3c897658025a9a2
upload: never
- uses: ./../action/upload-sarif
with:
ref: refs/heads/main