Check forks
This commit is contained in:
parent
7c24eea873
commit
f2431f44c3
|
@ -28,14 +28,14 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repo and submodules
|
||||
uses: actions/checkout@v3
|
||||
if: github.repository == 'Budibase/budibase'
|
||||
if: github.repository == github.event.pull_request.head.repo.full_name
|
||||
with:
|
||||
submodules: true
|
||||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
|
||||
|
||||
- name: Checkout repo only
|
||||
uses: actions/checkout@v3
|
||||
if: github.repository != 'Budibase/budibase'
|
||||
if: github.repository != github.event.pull_request.head.repo.full_name
|
||||
|
||||
- name: Use Node.js 14.x
|
||||
uses: actions/setup-node@v3
|
||||
|
|
Loading…
Reference in New Issue