Skip to content

ci: Add workflow to notify issues when fix is released#6089

Open
antonis wants to merge 1 commit intomainfrom
antonis/release-comment-issues
Open

ci: Add workflow to notify issues when fix is released#6089
antonis wants to merge 1 commit intomainfrom
antonis/release-comment-issues

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented May 5, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Adds a GitHub Actions workflow that automatically comments on closed issues when the release containing their fix is published.

When a release is published, the release-comment-issues-gh-action parses PR links from the release notes, looks up which issues each PR closes (via GitHub closing keywords like Fixes #123), and posts a comment on those issues notifying users that the fix has been released.

Pre-release versions (alpha, beta, rc) are skipped. The workflow can also be triggered manually via workflow_dispatch.

Already used in sentry-javascript and being added to sentry-dart.

💡 Motivation and Context

Improves the experience for issue reporters — they get notified when a fix ships without anyone having to manually go back and comment.

💚 How did you test it?

Verified the release notes format matches the action's expected PR link pattern ([#1234](https://github.com/getsentry/sentry-react-native/pull/1234)). Can be further tested via workflow_dispatch after merge.

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

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

github-actions Bot commented May 5, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • ci: Add workflow to notify issues when fix is released by antonis in #6089
  • Fix PNPM iOS Upload Debug Symbol fail in EAS Build by alwx in #6086
  • chore(deps): update Sentry Android Gradle Plugin to v6.6.0 by github-actions in #6085
  • fix(e2e): Remove flaky iOS replay assertion from captureReplay test by antonis in #6072
  • chore(deps): bump github/codeql-action from 4.35.2 to 4.35.3 by dependabot in #6078
  • fix: Prevent shell injection vulnerability in GitHub Actions workflow by fix-it-felix-sentry in #6077
  • chore(deps): update Maestro to v2.5.1 by github-actions in #6075

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 9b7c81b

@antonis antonis marked this pull request as ready for review May 5, 2026 09:38
Copy link
Copy Markdown
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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