-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 960 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
######################################################################################################################
# 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 * * 0" # Once a week at 2am.
jobs:
semgrep:
name: Semgrep
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
steps:
- uses: actions/checkout@v4
- run: semgrep ci