File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3030 git-config-name : github-actions[bot]
3131 git-config-email : 41898282+github-actions[bot]@users.noreply.github.com
3232 - name : Deploy to subdirectory if pull request 🚀
33- if : github.event_name == 'pull_request'
33+ # This does not work for PRs from forks
34+ if : github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
3435 uses : JamesIves/github-pages-deploy-action@v4
3536 with :
3637 folder : build
3940 git-config-name : github-actions[bot]
4041 git-config-email : 41898282+github-actions[bot]@users.noreply.github.com
4142 - name : Update PR description if pull request
42- if : github.event_name == 'pull_request'
43+ # This does not work for PRs from forks
44+ if : github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
43454446 with :
4547 auth : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments