diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7c48fe..7696689 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,4 +25,20 @@ 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 }} + GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_GITHUB_TOKEN }} \ 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'