Skip to content

Commit

Permalink
feat(repo): disable docs-site preview run on fork (#18596)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerLamTd authored Dec 16, 2024
1 parent e82954a commit ec9420f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-site--preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
deploy-docs-site-preview:
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') }}
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.event.pull_request.head.repo.fork == false }}
runs-on: [arc-runner-set]
steps:
- name: Install Git
Expand Down

0 comments on commit ec9420f

Please sign in to comment.