From db2f0c8d2883633266895c588bde55d0a08a1fc1 Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Sun, 4 Oct 2026 11:21:45 -0400 Subject: [PATCH] Fixes #630 Remove inaccurate Announcements discussion category warning from README (#631) Co-authored-by: Claude Sonnet 5.5 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b35ee51..0826232 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This action will create a GitHub release and optionally upload an artifact to it | body | An optional body for the release. Note: This input will have white space trimmed before and after it. Use `bodyFile` if you need a non-trivial markdown body. | false | "" | | bodyFile | An optional body file for the release. This should be the path to the file. | false | "" | | commit | An optional commit reference. This will be used to create the tag if it does not exist. | false | "" | -| discussionCategory | When provided this will generate a discussion of the specified category. The category must exist otherwise this will cause the action to fail. This isn't used with draft releases. The default "Announcements" category is not supported via the API and will cause an error if used here. | false | "" | +| discussionCategory | When provided this will generate a discussion of the specified category. The category must exist otherwise this will cause the action to fail. This isn't used with draft releases. | false | "" | | draft | Optionally marks this release as a draft release. Set to true to enable. | false | "" | | generateReleaseNotes | Indicates if release notes should be automatically generated. | false | false | | generateReleaseNotesPreviousTag | An optional previous tag to use when generating release notes. This will limit the release notes to changes between the two tags. | false | "" | @@ -83,5 +83,4 @@ jobs: ## Notes - You must provide a tag either via the action input or the git ref (i.e push / create a tag). If you do not provide a tag the action will fail. - If the tag of the release you are creating does not yet exist, you should set both the `tag` and `commit` action inputs. `commit` can point to a commit hash or a branch name (ex - `main`). -- In the example above only required permissions for the action specified (which is `contents: write`). If you add other actions to the same workflow you should expand `permissions` block accordingly. -- More info about why the default discussion category "Announcements" does not work with this action may be found here: https://github.com/goreleaser/goreleaser/issues/2304. \ No newline at end of file +- In the example above only required permissions for the action specified (which is `contents: write`). If you add other actions to the same workflow you should expand `permissions` block accordingly. \ No newline at end of file