From c9b83ae8b61076a43ecdb36da00fc4c4c4b893f4 Mon Sep 17 00:00:00 2001 From: olegchorny Date: Fri, 22 Dec 2023 16:27:42 +0200 Subject: [PATCH] Always upload semgrep results --- .github/workflows/semgrep.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index a20eabc..350b973 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -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: @@ -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() +