Skip to content

Commit

Permalink
CI: Prevent docs job from running on forks
Browse files Browse the repository at this point in the history
The job always fails due to the missing token and causes annoying notifications
  • Loading branch information
simonhammes authored and Fizzadar committed Feb 5, 2025
1 parent 935ce07 commit 4b9eaed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-22.04
if: github.repository == 'pyinfra-dev/pyinfra'
steps:
- name: Clone Source Repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 4b9eaed

Please sign in to comment.