Skip to content

Commit

Permalink
Merge pull request #15 from teamwalnut/sre-always-upload-semgrep-results
Browse files Browse the repository at this point in the history
Always upload semgrep results
  • Loading branch information
olegchorny authored Dec 22, 2023
2 parents b456910 + c9b83ae commit 334864e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Semgrep

on:
schedule:
- cron: "00 14 * * *" # Sets Semgrep to scan every day at 12:30 UTC.
- cron: "30 14 * * *" # Sets Semgrep to scan every day at 12:30 UTC.
# It is recommended to change the schedule to a random time.

jobs:
Expand Down Expand Up @@ -38,8 +38,11 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: semgrep.sarif
if: always()
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: semgrep.sarif
path: semgrep.sarif
if: always()

0 comments on commit 334864e

Please sign in to comment.