Skip to content

Commit be2f69f

Browse files
committed
new workflow for ruleset
1 parent 995c184 commit be2f69f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/semgrep_scan.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Semgrep scan
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- edited
10+
11+
jobs:
12+
public-repo-job:
13+
runs-on: ubuntu-latest
14+
if: ${{ github.event.repository.private == false }}
15+
container:
16+
image: semgrep/semgrep
17+
steps:
18+
- uses: actions/[email protected]
19+
- name: run on public repo
20+
run: semgrep ci &> /dev/null
21+
env:
22+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}

0 commit comments

Comments
 (0)