Skip to content

ci(maintenance): Remove release comment automation#5193

Merged
svozza merged 4 commits intomainfrom
chore/remove-release-comment-automation
Apr 20, 2026
Merged

ci(maintenance): Remove release comment automation#5193
svozza merged 4 commits intomainfrom
chore/remove-release-comment-automation

Conversation

@dreamorosi
Copy link
Copy Markdown
Contributor

Summary

Changes

GitHub now natively links releases to issues (see screenshot in issue), making our custom comment automation redundant. This PR removes the bespoke automation that leaves a release comment on issues.

Specifically:

  • Removed the createComment logic from post_release.js (no longer posts "This is now released under vX.Y.Z version!" comments)
  • Deleted .github/scripts/constants.js entirely (only consumer was post_release.js)
  • Inlined the two label constants (pending-release, completed) directly in post_release.js
  • Removed the versionNumber workflow input and "Get release version" step from post-release.yml (no longer needed)
  • Trimmed unnecessary permissions (discussions: write, pull-requests: write) from the workflow

The label-swap behavior (pending-release -> completed) is preserved.

Issue number: closes #5191


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

GitHub now natively links releases to issues, making our custom
comment automation redundant. Remove the createComment logic from
post_release.js, delete the now-unused constants.js, and trim
unnecessary workflow permissions and inputs.

The label-swap behavior (pending-release -> completed) is preserved.

Fixes #5191
Co-Authored-By: Claude <noreply@anthropic.com>
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation bot added size/L PRs between 100-499 LOC and removed size/L PRs between 100-499 LOC labels Apr 16, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation bot added size/L PRs between 100-499 LOC and removed size/L PRs between 100-499 LOC labels Apr 20, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation bot added size/L PRs between 100-499 LOC and removed size/L PRs between 100-499 LOC labels Apr 20, 2026
@sonarqubecloud
Copy link
Copy Markdown

@svozza svozza merged commit b8ac9ac into main Apr 20, 2026
52 checks passed
@svozza svozza deleted the chore/remove-release-comment-automation branch April 20, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PRs between 100-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: remove automation to leave release comment

2 participants