Skip to content

security: harden release workflow and declare workflow_call secrets#487

Open
cx-luis-ventuzelos wants to merge 1 commit into
mainfrom
fix/workflow-security-hardening
Open

security: harden release workflow and declare workflow_call secrets#487
cx-luis-ventuzelos wants to merge 1 commit into
mainfrom
fix/workflow-security-hardening

Conversation

@cx-luis-ventuzelos

@cx-luis-ventuzelos cx-luis-ventuzelos commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace actions/checkout v4.3.1 → 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.* context expressions to env vars
  • Replace deprecated ::set-output with $GITHUB_OUTPUT in Tag step
  • Update actions/setup-java v4.3.0 → v5.2.0
  • Add explicit secrets: declaration under workflow_call (MAVEN_GPG_PASSPHRASE, MAVEN_GPG_PRIVATE_KEY, OSSRH_TOKEN, OSSRH_USERNAME)
  • Fix broken shell conditional in Build artifactId property step

Closes #484, closes #486.

- 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
@stepsecurity-app

Copy link
Copy Markdown
Contributor

Security Policy Alert: Actions Policy Violation

This workflow run has been blocked by StepSecurity's actions policy.

Disallowed Actions:

  • timonvs/pr-labeler-action@f9c084306ce8b3f488a8f3ee1ccedc6da131d1af

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.

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.

1 participant