[ci skip] Fix double actions on PRs from main Paper repo
This commit is contained in:
parent
54b0c41c20
commit
a8e5141f2a
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -10,6 +10,8 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
# Only run on PRs if the source branch is on someone else's repo
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue