summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-06-16 18:55:15 +0200
committerGitHub <[email protected]>2023-06-16 18:55:15 +0200
commitc3e79c26be8dd9b7008c5cc1a21368006f545eca (patch)
tree638501db9f54f457b0f36d68a4855a4006f833a7
parent511ab74671f28a6746cd4d7b859828a07c37cf3e (diff)
Create semgrep.yml
-rw-r--r--.github/workflows/semgrep.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
new file mode 100644
index 00000000..29db8bec
--- /dev/null
+++ b/.github/workflows/semgrep.yml
@@ -0,0 +1,21 @@
+name: semgrep
+on:
+ pull_request: {}
+ push:
+ branches:
+ - master
+ - stable
+ paths:
+ - .github/workflows/semgrep.yml
+jobs:
+ semgrep:
+ name: semgrep/ci
+ runs-on: ubuntu-latest
+ # env:
+ # SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
+ container:
+ image: returntocorp/semgrep
+ # if: (github.actor != 'dependabot[bot]')
+ steps:
+ - uses: actions/checkout@v3
+ - run: semgrep ci