Skip to content

fix: add preflight checks and protect release notes from URL redaction#1513

Closed
edburns wants to merge 4 commits into
mainfrom
edburns/ghcp-sp-122-java-release-improvements
Closed

fix: add preflight checks and protect release notes from URL redaction#1513
edburns wants to merge 4 commits into
mainfrom
edburns/ghcp-sp-122-java-release-improvements

Conversation

@edburns
Copy link
Copy Markdown
Collaborator

@edburns edburns commented May 30, 2026

Changes

  • Preflight job in java-publish-maven.yml: validates JAVA_RELEASE_TOKEN (push access) and JAVA_RELEASE_GITHUB_TOKEN (workflow dispatch access) before running publish-maven or github-release. If either token is invalid, the entire pipeline stops.

  • Release notes template (java.notes.template): added HTML comment markers (INSTALLATION_SECTION / END_INSTALLATION_SECTION) and a maven_central_url comment so the changelog generator can preserve and reconstruct the Maven Central URL if the firewall proxy redacts it.

  • Changelog generator (release-changelog.md): added Step 6 instructions to preserve the Installation section verbatim and reconstruct the Maven Central URL if corrupted.

Fixes the (central.sonatype.com/redacted) issue seen on java/v1.0.0-beta-10-java.4.

edburns added 4 commits May 29, 2026 16:48
modified:   .github/aw/actions-lock.json
modified:   .github/workflows/java.notes.template
modified:   .github/workflows/release-changelog.lock.yml
modified:   .github/workflows/release-changelog.md

Try to fix the

📦 [View on Maven Central]((central.sonatype.com/redacted)

problem.
modified:   .github/workflows/java-publish-maven.yml

- Add a preflight to try to avoid failures.
@edburns edburns requested a review from a team as a code owner May 30, 2026 00:28
Copilot AI review requested due to automatic review settings May 30, 2026 00:28
@edburns edburns closed this May 30, 2026
Copy link
Copy Markdown
Contributor

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@edburns edburns deleted the edburns/ghcp-sp-122-java-release-improvements branch May 30, 2026 00:30
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