Skip to content

Commit 45c9b01

Browse files
securitymircoroboquat
authored andcommitted
Add semgrep.yml to this repository
This adds a semgrep.yml configuration file to allow code security scanning on our public Gitpod repository.
1 parent 03aae67 commit 45c9b01

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Semgrep
2+
on:
3+
pull_request: {}
4+
push:
5+
branches:
6+
- main
7+
- master
8+
paths:
9+
- .github/workflows/semgrep.yml
10+
schedule:
11+
- cron: '0 0 * * 0'
12+
jobs:
13+
semgrep:
14+
name: Scan
15+
runs-on: ubuntu-20.04
16+
env:
17+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
18+
container:
19+
image: returntocorp/semgrep
20+
if: (github.actor != 'dependabot[bot]')
21+
steps:
22+
- uses: actions/checkout@v3
23+
- run: semgrep ci

0 commit comments

Comments
 (0)