No semgrep.yml on forks

This commit is contained in:
Jaco Greeff
2021-06-05 14:07:48 +03:00
parent 6e50df3491
commit 5f9fcf768c

View File

@@ -7,7 +7,7 @@ on:
jobs:
check:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/extension'"
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.issue.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2