We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959aa47 commit 83970feCopy full SHA for 83970fe
.github/workflows/semgrep.yml
@@ -1,14 +1,19 @@
1
-name: Run semgrep checks
2
-
+name: Semgrep
3
on:
4
pull_request:
5
- branches: [main, master]
6
7
-permissions:
8
- contents: read
+ workflow_dispatch:
9
10
jobs:
11
- run-semgrep-reusable-workflow:
12
- uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main
13
- secrets:
14
- token: ${{ secrets.SEMGREP_APP_TOKEN }}
+ semgrep:
+ name: Run Semgrep
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ container:
+ # A Docker image with Semgrep installed. Do not change this.
+ image: returntocorp/semgrep
+ #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