security: harden release workflow and declare workflow_call secrets#487
Open
cx-luis-ventuzelos wants to merge 1 commit into
Open
security: harden release workflow and declare workflow_call secrets#487cx-luis-ventuzelos wants to merge 1 commit into
cx-luis-ventuzelos wants to merge 1 commit into
Conversation
- Replace actions/checkout v4.3.1 with v6.0.3 and switch from PERSONAL_ACCESS_TOKEN to GITHUB_TOKEN - Fix script injection in Download CLI, Tag, Update POM, Build artifactId, and Publish steps by moving inputs to env vars - Replace deprecated ::set-output with $GITHUB_OUTPUT in Tag step - Update actions/setup-java v4.3.0 to v5.2.0 - Add explicit secrets declaration for workflow_call (MAVEN_GPG_PASSPHRASE, MAVEN_GPG_PRIVATE_KEY, OSSRH_TOKEN, OSSRH_USERNAME) - Fix broken shell conditional in Build artifactId property step
Contributor
Security Policy Alert: Actions Policy ViolationThis workflow run has been blocked by StepSecurity's actions policy. Disallowed Actions:
To fix this issue, please modify the workflow to use only allowed actions. Contact your organization administrator to request changes to the allowed actions list if needed. For more information, see StepSecurity's Actions Policy documentation. |
This was referenced Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
actions/checkoutv4.3.1 → v6.0.3 and switch fromPERSONAL_ACCESS_TOKENtoGITHUB_TOKENDownload CLI,Tag,Update POM,Build artifactId, andPublishsteps by movinginputs.*context expressions toenvvars::set-outputwith$GITHUB_OUTPUTinTagstepactions/setup-javav4.3.0 → v5.2.0secrets:declaration underworkflow_call(MAVEN_GPG_PASSPHRASE,MAVEN_GPG_PRIVATE_KEY,OSSRH_TOKEN,OSSRH_USERNAME)Build artifactId propertystepCloses #484, closes #486.