Skip to content

Commit 6cf18cd

Browse files
authored
Merge pull request #3 from Quantumlyy/Quantumlyy/release-pr-fix
Tighten release token handling
2 parents d9b1812 + 9eb2c8c commit 6cf18cd

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ jobs:
3838
commit: Version packages
3939
title: Version packages
4040
env:
41-
GITHUB_TOKEN: ${{ github.token }}
41+
# Fall back to the default workflow token, but allow a PAT/App token
42+
# because GitHub can block PR creation with `github.token` at the repo level.
43+
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN || github.token }}
4244
NPM_CONFIG_PROVENANCE: true

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@ Place the plugin source in your project's `.opencode/plugins/` directory (or `~/
2727
}
2828
```
2929

30-
## Releasing
31-
32-
For publishable changes, add a changeset with:
33-
34-
```sh
35-
bun run changeset
36-
```
37-
38-
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.
39-
40-
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.
41-
4230
## Configuration
4331

4432
All configuration is via environment variables:

0 commit comments

Comments
 (0)