mirror of
https://github.com/status-im/create-pull-request.git
synced 2025-02-23 11:58:15 +00:00
Skip test job for pull requests from forks
This commit is contained in:
parent
1a640f5b01
commit
7e70d8e63c
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -31,18 +31,16 @@ jobs:
|
||||
path: dist
|
||||
|
||||
test:
|
||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
target: [built, committed]
|
||||
steps:
|
||||
- if: github.event_name == 'push'
|
||||
uses: actions/checkout@v2
|
||||
- if: github.event_name == 'pull_request'
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
ref: master
|
||||
- if: matrix.target == 'built' || github.event_name == 'pull_request'
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user