Skip to content

Commit 221aec4

Browse files
committed
Publish alerts file in sample workflows
1 parent 61edd49 commit 221aec4

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/on-push-verification.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ jobs:
3434
uses: github/codeql-action/upload-sarif@v1
3535
with:
3636
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
37+
38+
# Upload alerts file as a workflow artifact
39+
- name: Upload alerts file as a workflow artifact
40+
uses: actions/upload-artifact
41+
with:
42+
name: alerts
43+
path: ${{ steps.msdo.outputs.sarifFile }}

.github/workflows/sample-workflow-ubuntu-latest.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ jobs:
3535
uses: github/codeql-action/upload-sarif@v1
3636
with:
3737
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
38+
39+
# Upload alerts file as a workflow artifact
40+
- name: Upload alerts file as a workflow artifact
41+
uses: actions/upload-artifact
42+
with:
43+
name: alerts
44+
path: ${{ steps.msdo.outputs.sarifFile }}

.github/workflows/sample-workflow-windows-latest.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ jobs:
3535
uses: github/codeql-action/upload-sarif@v1
3636
with:
3737
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
38+
39+
# Upload alerts file as a workflow artifact
40+
- name: Upload alerts file as a workflow artifact
41+
uses: actions/upload-artifact
42+
with:
43+
name: alerts
44+
path: ${{ steps.msdo.outputs.sarifFile }}

0 commit comments

Comments
 (0)