No semgrep.yml on forks

This commit is contained in:
Jaco Greeff
2021-06-05 14:07:44 +03:00
parent 6ab36a36c5
commit f7d9737950
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs:
check:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/ui'"
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