From a8bc1cef5f58bd0e1fe515c722f4029c678844ff Mon Sep 17 00:00:00 2001
From: "fishbrain-terraform[bot]"
 <146337244+fishbrain-terraform[bot]@users.noreply.github.com>
Date: Mon, 2 Oct 2023 10:22:56 +0000
Subject: [PATCH] Automated: Add Semgrep github action

---
 .github/workflows/semgrep.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
index bb2c0e9..01b315a 100644
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -7,12 +7,13 @@ on:
   push:
     branches: ["master", "main"]
   schedule:
-    - cron: '0 2 * * 1-6' # scheduled for 02:00 UTC every day except Sunday
+    - cron: '0 2 * * 0' # scheduled for 02:00 UTC every day except Sunday
 
 jobs:
   semgrep:
     name: Scan
     runs-on: ubuntu-latest
+    timeout-minutes: 15 # There's been issues with some runs hanging. This times out after 15 minutes instead of the default 360.
     container:
       image: returntocorp/semgrep
     if: (github.actor != 'dependabot[bot]')