[PR #6] [MERGED] Fix semantic-release failure when GitHub Discussions are disabled #8

Closed
opened 2026-06-08 09:05:02 +00:00 by ryangr0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/webgrip/renovate-config/pull/6
Author: @Copilot
Created: 6/3/2026
Status: Merged
Merged: 6/3/2026
Merged by: @Ryangr0

Base: mainHead: copilot/fix-semantic-release-job


📝 Commits (2)

  • c513557 Initial plan
  • eecb941 fix: remove semantic-release discussion category from GitHub plugin

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 .releaserc.json (+0 -1)

📄 Description

Summary

Semantic Release failed in Semantic Release / Semantic Release because @semantic-release/github attempted to attach releases to a Discussions category in a repository with Discussions disabled (404 Discussions are not enabled on this repository).
This change removes the Discussions linkage from release publishing so release/tag creation can proceed normally.

  • Root cause
    • discussionCategoryName: "Releases" in .releaserc.json triggered a failing PATCH to the GitHub Releases API.
  • Change
    • Removed discussionCategoryName from the @semantic-release/github plugin config.
  • Result
    • Release automation no longer depends on repository Discussions being enabled.
{
  "addReleases": "bottom",
  "draftRelease": false
}

Presets affected

None.
No Renovate preset JSON behavior changed (default, grouped, safe-automerge, gitops unchanged).

Consumer impact

No consumer-facing preset behavior change.
Impact is limited to repository release automation reliability.

Checklist

  • Documentation and examples are updated if behavior changed
  • The validator passes for every shared preset
  • The release/tagging impact is described

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/webgrip/renovate-config/pull/6 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 6/3/2026 **Status:** ✅ Merged **Merged:** 6/3/2026 **Merged by:** [@Ryangr0](https://github.com/Ryangr0) **Base:** `main` ← **Head:** `copilot/fix-semantic-release-job` --- ### 📝 Commits (2) - [`c513557`](https://github.com/webgrip/renovate-config/commit/c513557c140050b24e5d34b84135d72758760b76) Initial plan - [`eecb941`](https://github.com/webgrip/renovate-config/commit/eecb94115e2362f9a9eaf320559d06b505616f98) fix: remove semantic-release discussion category from GitHub plugin ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.releaserc.json` (+0 -1) </details> ### 📄 Description ## Summary Semantic Release failed in `Semantic Release / Semantic Release` because `@semantic-release/github` attempted to attach releases to a Discussions category in a repository with Discussions disabled (`404 Discussions are not enabled on this repository`). This change removes the Discussions linkage from release publishing so release/tag creation can proceed normally. - **Root cause** - `discussionCategoryName: "Releases"` in `.releaserc.json` triggered a failing PATCH to the GitHub Releases API. - **Change** - Removed `discussionCategoryName` from the `@semantic-release/github` plugin config. - **Result** - Release automation no longer depends on repository Discussions being enabled. ```json { "addReleases": "bottom", "draftRelease": false } ``` ## Presets affected None. No Renovate preset JSON behavior changed (`default`, `grouped`, `safe-automerge`, `gitops` unchanged). ## Consumer impact No consumer-facing preset behavior change. Impact is limited to repository release automation reliability. ## Checklist - [ ] Documentation and examples are updated if behavior changed - [ ] The validator passes for every shared preset - [x] The release/tagging impact is described --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
ryangr0 2026-06-08 09:05:02 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/renovate-config#8
No description provided.