Skip to content

ci(release): announce releases in repo and org discussions - #55

Merged
rahlk merged 1 commit into
mainfrom
ci/announce-releases-in-discussions
Jun 27, 2026
Merged

ci(release): announce releases in repo and org discussions#55
rahlk merged 1 commit into
mainfrom
ci/announce-releases-in-discussions

Conversation

@rahlk

@rahlk rahlk commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Closes #54.

What

Post each release to GitHub Discussions in two places (parity with codeanalyzer-typescript):

  • Repo-level — add discussion_category_name: Announcements to the existing action-gh-release publish step, plus discussions: write to the workflow permissions: block (the restrictive block otherwise denies the release-linked discussion with a misleading "valid category name" error). The discussion is seeded from the already-composed RELEASE_BODY.md.
  • Org-level — new continue-on-error step posting the same body into codellm-devkit/.githubAnnouncements via a createDiscussion GraphQL mutation, authenticated by ORG_DISCUSSIONS_TOKEN.

Also bumps 0.3.0 → 0.3.1 so the next tag actually exercises this.

Prerequisites (already done)

  • Discussions enabled + Announcements category on this repo.
  • ORG_DISCUSSIONS_TOKEN has repo scope.

- repo-level: add discussion_category_name + discussions:write permission so
  action-gh-release opens an Announcements discussion linked to the release
- org-level: new createDiscussion step posting the same body to
  codellm-devkit/.github, authenticated by ORG_DISCUSSIONS_TOKEN (continue-on-error)
- bump version 0.3.0 -> 0.3.1 so a release can exercise it

Closes #54
@rahlk rahlk added the ci continuous integration goodies label Jun 27, 2026
@rahlk
rahlk merged commit ed26104 into main Jun 27, 2026
@rahlk
rahlk deleted the ci/announce-releases-in-discussions branch June 27, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci continuous integration goodies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Announce releases in repo and org Discussions

1 participant