Skip to content

Commit b0c7673

Browse files
authored
SemgrepAdded semgrep CI/CD scan (#25)
As a part of improving our security posture we have decided to add Semgrep scans to public repositories therefore this commit contains the yaml config file for semgrep to start the scans.
2 parents 69162d9 + 040afa0 commit b0c7673

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Semgrep
2+
on:
3+
pull_request:
4+
workflow_dispatch:
5+
6+
jobs:
7+
semgrep:
8+
name: Run Semgrep
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 30
11+
container:
12+
# A Docker image with Semgrep installed. Do not change this.
13+
image: returntocorp/semgrep
14+
if: (github.actor != 'dependabot[bot]')
15+
steps:
16+
- uses: actions/checkout@v4
17+
- run: semgrep ci
18+
env:
19+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}

0 commit comments

Comments
 (0)