-
Notifications
You must be signed in to change notification settings - Fork 9
29 lines (28 loc) · 1001 Bytes
/
semgrep.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
######################################################################################################################
# THIS FILE IS AUTOGENERATED. SEE https://github.com/fishbrain/terraform/blob/master/repositories/semgrep.tf #
######################################################################################################################
name: Semgrep
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- main
- master
paths:
- .github/workflows/semgrep.yml
schedule:
- cron: "0 2 * * 5" # Once a week at 2am.
jobs:
semgrep:
name: Scan
runs-on: warp-ubuntu-latest-x64-2x
timeout-minutes: 15 # There's been issues with some runs hanging. This times out after 15 minutes instead of the default 360.
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: semgrep/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v4
- run: semgrep ci