ci: fix release-please permissions and document release workflow
Enable workflow_dispatch, add issues:write, and document the repo Actions setting required for release-please PRs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
[](https://pkg.go.dev/github.com/eslider/go-onlyoffice)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://go.dev)
|
||||
[](https://github.com/eSlider/go-onlyoffice/actions/workflows/test.yml)
|
||||
[](https://github.com/eSlider/go-onlyoffice/releases)
|
||||
[](https://github.com/eSlider/go-onlyoffice/stargazers)
|
||||
|
||||
@@ -631,6 +632,20 @@ oo mails delete 5664
|
||||
|
||||
Folder names: `inbox`, `sent`, `drafts`, `trash`, `spam` (or numeric id).
|
||||
|
||||
### CI / releases
|
||||
|
||||
GitHub Actions (pattern from [`eSlider/go-config`](https://github.com/eSlider/go-config)):
|
||||
|
||||
| Workflow | Trigger | Purpose |
|
||||
|---|---|---|
|
||||
| `test.yml` | push / PR | `go vet`, unit tests, build `oo` |
|
||||
| `release-please.yml` | push to `main` | semver PR from conventional commits |
|
||||
| `release.yml` | tag `v*` | GoReleaser cross-platform `oo` binaries |
|
||||
|
||||
Repo setting required once: **Settings → Actions → General → Allow GitHub Actions to create and approve pull requests**.
|
||||
|
||||
Merge the release-please PR to tag a version; GoReleaser publishes assets to [GitHub Releases](https://github.com/eSlider/go-onlyoffice/releases).
|
||||
|
||||
## Examples
|
||||
|
||||
| Example | Description |
|
||||
|
||||
Reference in New Issue
Block a user