Skip to content

Announce releases in repo and org Discussions #166

Description

@rahlk

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/.githubAnnouncements 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions