Skip to content

Commit

Permalink
Fixes commenting preview that was never pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Oct 14, 2023
1 parent 3071dc3 commit 7e30703
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ jobs:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
- name: Comment about previewing documentation
if: ${{ github.event_name == 'pull_request' }}
if: |
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository
uses: actions/github-script@v6
with:
script: |
Expand Down

0 comments on commit 7e30703

Please sign in to comment.