semgrep.yml on PR

This commit is contained in:
Jaco Greeff
2021-06-05 09:19:57 +03:00
parent 80129ae1b7
commit 97cb8a76f1
+2 -8
View File
@@ -1,12 +1,12 @@
name: Semgrep name: Semgrep
on: on:
pull_request: {}
push: push:
branches: branches:
- master - master
jobs: jobs:
semgrep: check:
name: Scan
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/common'" if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/common'"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -16,9 +16,3 @@ jobs:
auditOn: push auditOn: push
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
publishDeployment: 1395 publishDeployment: 1395
dummy:
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"