summaryrefslogtreecommitdiff
path: root/.github/workflows/semgrep.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/semgrep.yml')
-rw-r--r--.github/workflows/semgrep.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
new file mode 100644
index 00000000..58ae4ed6
--- /dev/null
+++ b/.github/workflows/semgrep.yml
@@ -0,0 +1,20 @@
+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
+ steps:
+ - uses: actions/checkout@v3
+ - run: semgrep ci