From df8d6506b25ce55c739226a2c910027e9647bda3 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Tue, 11 Aug 2026 22:30:45 -0400 Subject: [PATCH] Include AI-generated changelog entries in the commit message, not just the PR body PR #590 showed this gap: the commit message was just 'Update API from slack-api-ref@784d1d4 (2026-08-12)', with no details, while the PR body had the full list of changes generated by the AI CHANGELOG step. Anyone looking at git log/git blame for this commit alone (outside the PR UI) had no idea what actually changed. Reuse steps.entries.outputs.body_list (already computed for the PR body) in commit-message as well, so the commit message itself carries the same bulleted summary of changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/update_api.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_api.yml b/.github/workflows/update_api.yml index 3e0d0a41..9f7bf00b 100644 --- a/.github/workflows/update_api.yml +++ b/.github/workflows/update_api.yml @@ -96,7 +96,10 @@ jobs: uses: peter-evans/create-pull-request@v8 with: token: ${{ steps.github_app_token.outputs.token || secrets.GITHUB_TOKEN }} - commit-message: Update API from slack-api-ref@${{ steps.api-ref.outputs.api-ref }} (${{ steps.date.outputs.date }}) + commit-message: | + Update API from slack-api-ref@${{ steps.api-ref.outputs.api-ref }} (${{ steps.date.outputs.date }}) + + ${{ steps.entries.outputs.body_list }} title: Update API from slack-api-ref@${{ steps.api-ref.outputs.api-ref }} body: | Update API from [slack-api-ref](https://github.com/slack-ruby/slack-api-ref).