mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 22:50:17 +08:00
Upload SARIF with ref/sha inputs: Generate SARIF with analyze Action
This commit is contained in:
6
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
6
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user