Goal
Post each release to GitHub Discussions in two places, matching codeanalyzer-typescript/-python:
- Repo-level — the existing
softprops/action-gh-release publish step opens a Discussion linked to the release (category Announcements), seeded from release-notes.md. Needs the workflow permissions: to grant discussions: write.
- Org-level — a new step posts the same body into
codellm-devkit/.github → Announcements via a createDiscussion GraphQL mutation, authenticated by the org-level ORG_DISCUSSIONS_TOKEN secret. continue-on-error so a failed org post never sinks an otherwise-good release.
Prerequisites (done)
- Discussions enabled on this repo;
Announcements category exists.
ORG_DISCUSSIONS_TOKEN org secret has repo scope.
Done when
Both discussion posts appear on the next release. Patch bump (gradle.properties 2.4.1 → 2.4.2) included so a release can exercise it.
Goal
Post each release to GitHub Discussions in two places, matching
codeanalyzer-typescript/-python:softprops/action-gh-releasepublish step opens a Discussion linked to the release (category Announcements), seeded fromrelease-notes.md. Needs the workflowpermissions:to grantdiscussions: write.codellm-devkit/.github→ Announcements via acreateDiscussionGraphQL mutation, authenticated by the org-levelORG_DISCUSSIONS_TOKENsecret.continue-on-errorso a failed org post never sinks an otherwise-good release.Prerequisites (done)
Announcementscategory exists.ORG_DISCUSSIONS_TOKENorg secret hasreposcope.Done when
Both discussion posts appear on the next release. Patch bump (
gradle.properties2.4.1 → 2.4.2) included so a release can exercise it.