Skip to content

Fix release-notify first-run sending huge changelog#1

Merged
vikasiwp merged 1 commit intomainfrom
fix/release-notify-first-run
Mar 10, 2026
Merged

Fix release-notify first-run sending huge changelog#1
vikasiwp merged 1 commit intomainfrom
fix/release-notify-first-run

Conversation

@vikasiwp
Copy link
Copy Markdown
Contributor

@vikasiwp vikasiwp commented Mar 9, 2026

Summary

  • When no release-notify/* tag exists (first run of the workflow), the fallback grabbed the last 30 commits instead of scoping to just the merged PR
  • This caused the Slack notification to contain a massive changelog covering 30 commits when only 1 file changed
  • Fixed to use merge_commit_sha from the PR event, falling back to HEAD~1 for workflow_dispatch

Test plan

  • If tag is deleted and workflow re-run, notification should scope to just the triggering PR

🤖 Generated with Claude Code

When no release-notify tag exists (first run), the fallback grabbed
the last 30 commits instead of just the merged PR's changes, causing
a huge changelog in the Slack notification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude
Copy link
Copy Markdown

claude bot commented Mar 9, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

@vikasiwp vikasiwp merged commit 93c8b26 into main Mar 10, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants