Skip to content

Edburns/ghcp sp 122 java release improvements#1514

Merged
edburns merged 4 commits into
mainfrom
edburns/ghcp-sp-122-java-release-improvements
May 30, 2026
Merged

Edburns/ghcp sp 122 java release improvements#1514
edburns merged 4 commits into
mainfrom
edburns/ghcp-sp-122-java-release-improvements

Conversation

@edburns
Copy link
Copy Markdown
Collaborator

@edburns edburns commented May 30, 2026

No description provided.

edburns added 3 commits May 29, 2026 17:31
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.
Copilot AI review requested due to automatic review settings May 30, 2026 00:32
@edburns edburns requested a review from a team as a code owner May 30, 2026 00:32
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.

Pull request overview

Updates the preflight job in the Java Maven publish workflow so it validates the two release-specific secrets actually used downstream (JAVA_RELEASE_TOKEN for git/Maven pushes and JAVA_RELEASE_GITHUB_TOKEN for triggering the changelog workflow) instead of the default GITHUB_TOKEN. This makes preflight failures more accurately reflect what will go wrong later in the release.

Changes:

  • Replace the GITHUB_TOKEN push-permission check with one that verifies JAVA_RELEASE_TOKEN push permission, with comments documenting all the steps that depend on it.
  • Replace the gh api user check for JAVA_RELEASE_GITHUB_TOKEN with one that calls the repo actions/workflows API, reflecting its use for gh workflow run.
  • Refresh log/error messages to name the correct secret and described capability.
Show a summary per file
File Description
.github/workflows/java-publish-maven.yml Rewrite preflight checks to validate JAVA_RELEASE_TOKEN push access and JAVA_RELEASE_GITHUB_TOKEN actions API access.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/workflows/java-publish-maven.yml
@edburns edburns requested a review from Copilot May 30, 2026 00:42
@edburns edburns merged commit 8da1b4c into main May 30, 2026
15 of 16 checks passed
@edburns edburns deleted the edburns/ghcp-sp-122-java-release-improvements branch May 30, 2026 00:44
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.

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