Skip to content

Commit

Permalink
[CONFIGURATION] Do not run the GitHub action deploy job in forks (#1456)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
  • Loading branch information
stweil and sebastian-meyer authored Feb 1, 2025
1 parent 4358e98 commit 3e9b1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Add a dependency to the build job
needs: build

if: github.ref == 'refs/heads/main'
if: github.repository_owner == 'kitodo' && github.ref == 'refs/heads/main'

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down

0 comments on commit 3e9b1d1

Please sign in to comment.