Skip to content

Commit

Permalink
Always upload semgrep results
Browse files Browse the repository at this point in the history
  • Loading branch information
olegchorny authored Dec 22, 2023
1 parent b456910 commit c9b83ae
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 c9b83ae

Please sign in to comment.