Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ If using [trusted publishing](https://docs.npmjs.com/trusted-publishers), it's r
>
> Setting the `GITHUB_TOKEN` environment variable does not configure the action. This applies whether release changes are pushed using the GitHub API or the Git CLI.

> [!TIP]
> If a fork of your repository has GitHub Actions enabled, the workflow also runs in the fork when its base branch is updated, and can open version pull requests there. Your repository secrets aren't available in forks either, so publishing from them would fail. To skip runs on forks, check the repository name in the job's `if` condition:
>
> ```yaml
> jobs:
> publish:
> if: github.repository == 'owner/repo'
> ```
>
> When using the sub-actions, add the condition to the `select-mode` job so the jobs that depend on it are skipped too.

### API

<!-- api-start -->
Expand Down