[ci skip] Fix double actions on PRs from main Paper repo

This commit is contained in:
Jason Penilla 2021-12-04 21:19:04 -08:00
parent 54b0c41c20
commit a8e5141f2a
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8

View file

@ -10,6 +10,8 @@ on: [push, pull_request]
jobs: jobs:
build: 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 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix: