mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-07-21 10:07:41 +00:00
Skip test job for pull requests from forks
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -29,6 +29,7 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user