Skip to content

Document how to skip runs on forks - #745

Open
dgesteves wants to merge 1 commit into
changesets:mainfrom
dgesteves:docs/skip-runs-on-forks
Open

dgesteves wants to merge 1 commit into
changesets:mainfrom
dgesteves:docs/skip-runs-on-forks

Conversation

@dgesteves

Copy link
Copy Markdown

Closes #4

Following the suggestion in the issue to document this instead of building it into the action, I added a tip to the README's Usage section. It shows the github.repository == 'owner/repo' job condition, explains why you'd want it (forks with Actions enabled can open version PRs, and your repository secrets aren't available there, so publishing fails), and notes that with the sub-actions the condition goes on the select-mode job so the jobs that depend on it are skipped too.

It's docs only, so there's no changeset. pnpm format passes.

If this fits better in the changesets.dev automating guide, or you'd like different wording, I'm happy to change it.

@changeset-bot

changeset-bot Bot commented Oct 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5ed9913

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This branch has not been deployed

No deployments
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.

Don't run on forks

1 participant