semgrep.yml on PR
This commit is contained in:
@@ -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"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user