Skip to content

ci: improve publish gate, changelog, and slack deploy notifications#2

Merged
javorosas merged 7 commits intomainfrom
docs/add-changelog
Apr 7, 2026
Merged

ci: improve publish gate, changelog, and slack deploy notifications#2
javorosas merged 7 commits intomainfrom
docs/add-changelog

Conversation

@javorosas
Copy link
Copy Markdown
Member

Summary

  • add CHANGELOG.md using Keep a Changelog format
  • improve publish gate to skip cleanly when the version should not publish
  • log explicit skip reason in workflow output
  • avoid duplicate publish attempts when same version is already staged/publishing
  • keep deploy failures failing while skip paths stay green
  • notify Slack only on real publish success/failure

Notes

  • no Slack noise when publish is skipped by the version gate
  • deploy still fails on actual mvn deploy errors

@javorosas javorosas requested a review from Copilot April 7, 2026 20:00
@javorosas javorosas self-assigned this Apr 7, 2026
@javorosas javorosas added documentation Improvements or additions to documentation ci labels Apr 7, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines the Maven Central publishing workflow by adding a formal changelog, improving the version gate/skip behavior, and sending Slack notifications only when an actual publish attempt succeeds or fails.

Changes:

  • Added a Keep a Changelog–formatted CHANGELOG.md.
  • Updated Maven Central publishing configuration and improved the publish gate logic (including duplicate publish avoidance).
  • Added Slack deploy notifications tied to the publish step outcome.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
pom.xml Adjusts Central publishing plugin behavior by changing the publish wait condition.
CHANGELOG.md Introduces initial release notes using Keep a Changelog structure.
.github/workflows/publish.yml Enhances version gating, adds manual trigger, avoids duplicate publish attempts, and posts Slack notifications on publish success/failure.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@javorosas javorosas merged commit ea2c770 into main Apr 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants