Skip to content

Commit

Permalink
test upload/download
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Apr 18, 2024
1 parent 872c43b commit 2b39570
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/scan_repo_with_semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ jobs:
- name: Checkout this repository
uses: actions/checkout@v4

- name: semgrep scan
run: |
- name: full scan
run: |
semgrep \
--sarif --output report.sarif \
--metrics=off \
--config="p/default"
- name: save report as pipeline artifact
uses: actions/upload-artifact@v4.3.2
with:
name: report.sarif
path: report.sarif

- name: Download report
uses: actions/download-artifact@v4.1.5
with:
name: report.sarif

0 comments on commit 2b39570

Please sign in to comment.