Skip to content

Commit

Permalink
Upload SARIF with ref/sha inputs: Generate SARIF with analyze Action
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Jun 11, 2024
1 parent ba4e487 commit 94acfdc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/__upload-ref-sha-input.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pr-checks/checks/upload-ref-sha-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ steps:
- 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'
Expand Down

0 comments on commit 94acfdc

Please sign in to comment.