From 2510671b276e7190e36a76b588c5d12ae044596b Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sun, 22 Mar 2026 16:16:45 +0000 Subject: [PATCH] ci: add communique to enhance release notes with AI Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 17 ++++++++++++++++- mise.toml | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7c48fe..630b901 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,4 +25,19 @@ jobs: - name: Release run: ./scripts/postversion.sh env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + enhance-release: + needs: [release] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + fetch-depth: 0 + - uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2 + - name: Enhance release notes with communique + run: | + TAG_NAME="v$(jq -r .version package.json)" + communique generate "$TAG_NAME" --github-release + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} \ No newline at end of file diff --git a/mise.toml b/mise.toml index 4424867..576926a 100644 --- a/mise.toml +++ b/mise.toml @@ -10,3 +10,4 @@ tasks.release-plz = "./scripts/release-plz.sh" node = '24' git-cliff = 'latest' gh = 'latest' +communique = 'latest'