File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1414 build-web :
1515 runs-on : ubuntu-latest
1616
17- # Skip running workflow on forks. Checking the repository owner still allows
18- # this to be run on PRs, and then below we disable it from attempting to
19- # publish.
20- if : github.repository_owner == 'prql'
21-
2217 steps :
2318 - name : 📂 Checkout code
2419 uses : actions/checkout@v4
7166 build-codemirror-demo :
7267 runs-on : ubuntu-latest
7368
74- if : github.repository_owner == 'prql'
75-
7669 steps :
7770 - name : 📂 Checkout code
7871 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 2424 needs : build-web
2525 runs-on : ubuntu-latest
2626
27- # Don't attempt to publish if on a fork, including a PR.
28- if : ${{ !github.event.pull_request.head.repo.fork }}
27+ # Don't attempt to publish if on a fork or on a PR running on upstream.
28+ if :
29+ ${{ github.repository_owner == 'prql' &&
30+ !github.event.pull_request.head.repo.fork }}
2931
3032 permissions :
3133 pages : write
You can’t perform that action at this time.
0 commit comments