Skip to content

Commit

Permalink
Automated: Add Semgrep github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fishbrain-terraform[bot] authored Oct 2, 2023
1 parent 251e9bf commit 34bce3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]')
Expand Down

0 comments on commit 34bce3c

Please sign in to comment.