Skip to content

Commit be24de7

Browse files
committed
Fix GitHub Discussions category for CI-CD notifications
Update release-post-comment.yml to post to the CI-CD category instead of Announcements category. Changes: - Line 21: Update default discussion_category_id to CI-CD category - Line 538: Update fallback DISCUSSION_CATEGORY_ID to CI-CD category - Update description: "announcements" → "CI-CD notifications" Category ID changed: - Old (Announcements): DIC_kwDOACA_5s4CXquL - New (CI-CD): DIC_kwDOACA_5s4Cxk-W This ensures future release posts appear in: https://github.com/crossbario/autobahn-python/discussions/categories/ci-cd Fixes posting to wrong category as seen in: #1759
1 parent e3b37f1 commit be24de7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-post-comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ on:
1515
required: false
1616
type: string
1717
discussion_category_id:
18-
description: "GitHub Discussions category ID for announcements"
18+
description: "GitHub Discussions category ID for CI-CD notifications"
1919
required: false
2020
type: string
21-
default: "DIC_kwDOACA_5s4CXquL" # Announcements category in autobahn-python repo
21+
default: "DIC_kwDOACA_5s4Cxk-W" # CI-CD category in autobahn-python repo
2222

2323
permissions:
2424
pull-requests: write # Required for posting PR comments
@@ -535,7 +535,7 @@ jobs:
535535
- name: Post to GitHub Discussions
536536
uses: actions/github-script@v7
537537
env:
538-
DISCUSSION_CATEGORY_ID: ${{ github.event.inputs.discussion_category_id || 'DIC_kwDOACA_5s4CXquL' }}
538+
DISCUSSION_CATEGORY_ID: ${{ github.event.inputs.discussion_category_id || 'DIC_kwDOACA_5s4Cxk-W' }}
539539
with:
540540
script: |
541541
const fs = require('fs');

0 commit comments

Comments
 (0)