Skip to content

Commit 385c8b1

Browse files
feat: Add SAST scanning using semgrep (#158)
1 parent da015c9 commit 385c8b1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/sast.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: SAST
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
tags:
11+
- 'v*.*.*'
12+
workflow_dispatch: {}
13+
14+
15+
jobs:
16+
semgrep:
17+
name: Semgrep SAST
18+
runs-on: ubuntu-latest
19+
permissions:
20+
# required for all workflows
21+
security-events: write
22+
# only required for workflows in private repositories
23+
actions: read
24+
contents: read
25+
26+
if: (github.actor != 'dependabot[bot]')
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: Kong/public-shared-actions/security-actions/semgrep@bd3d75259607dd015bea3b3313123f53b80e9d7f

0 commit comments

Comments
 (0)