Skip to content

fix: skip preview docs job if from fork #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dslovinsky
Copy link
Collaborator

Description

PRs generated from forks only have read access and can't get secrets. That means they'll never be able to run the Generate Fern Preview GHA job. This PR skips that job only for forked PRs. These PRs should have extra scrutiny at code review stage.

Related Issues

Fixes errors like this one

Changes Made

  • early return the Fern preview job if the PR generated from a fork

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

@dslovinsky dslovinsky self-assigned this Jul 17, 2025
@dslovinsky dslovinsky requested a review from a team as a code owner July 17, 2025 22:03
Copy link

github-actions bot commented Jul 17, 2025

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jul 17, 2025, 10:05 PM

@github-actions github-actions bot temporarily deployed to docs-preview July 17, 2025 22:04 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant