ci: add communique to enhance release notes with AI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jdx 2026-03-22 16:16:45 +00:00
parent 1648a7812b
commit 2510671b27
No known key found for this signature in database
GPG key ID: 584DADE86724B407
2 changed files with 17 additions and 1 deletions

View file

@ -25,4 +25,19 @@ jobs:
- name: Release
run: ./scripts/postversion.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 }}

View file

@ -10,3 +10,4 @@ tasks.release-plz = "./scripts/release-plz.sh"
node = '24'
git-cliff = 'latest'
gh = 'latest'
communique = 'latest'