Skip to content

Commit

Permalink
Maintenance: Limit artifact links PR comment to the current repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvuckovic committed Jan 10, 2025
1 parent 11d6211 commit e874363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ jobs:
path: ${{ inputs.docs_path }}/_build/epub/*.epub

- name: Post Comment to PR with Artifact Links
if: github.event_name == 'pull_request'
# Runs only on Pull Requests from the same repository (not from forks).
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
uses: thollander/actions-comment-pull-request@v3
with:
comment-tag: artifacts
Expand Down

0 comments on commit e874363

Please sign in to comment.