Skip to content

Commit

Permalink
Avoid reporting errors when making PRs across forks (Islandora#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey authored Sep 13, 2023
1 parent 3b9edc7 commit 7e0c8e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
- name: Build docs
uses: ./.github/actions/build
- name: Deploy docs preview
# XXX: Avoid attempting to do preview things across fork boundaries, as it doesn't work.
# See: https://github.com/rossjrw/pr-preview-action/pull/6
# Adapted from: https://github.com/orgs/community/discussions/26829#discussioncomment-3253575
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
uses: rossjrw/pr-preview-action@v1
with:
source-dir: site

0 comments on commit 7e0c8e3

Please sign in to comment.