diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f16176c..9a38803 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,5 +38,7 @@ jobs: commit: Version packages title: Version packages env: - GITHUB_TOKEN: ${{ github.token }} + # Fall back to the default workflow token, but allow a PAT/App token + # because GitHub can block PR creation with `github.token` at the repo level. + GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN || github.token }} NPM_CONFIG_PROVENANCE: true diff --git a/README.md b/README.md index 86a0cdd..78d4d64 100644 --- a/README.md +++ b/README.md @@ -27,18 +27,6 @@ Place the plugin source in your project's `.opencode/plugins/` directory (or `~/ } ``` -## Releasing - -For publishable changes, add a changeset with: - -```sh -bun run changeset -``` - -Merges to `main` open or update a Changesets release pull request with the pending version and changelog updates. Merging that release pull request publishes the package to npm and creates a GitHub release. - -Routine CI, config, or docs-only changes do not need a changeset unless a maintainer decides they should be released. This repo does not add PR-level changeset enforcement. - ## Configuration All configuration is via environment variables: