Skip to content

security: harden release workflow#484

Open
cx-luis-ventuzelos wants to merge 1 commit into
mainfrom
security/harden-release-workflow
Open

security: harden release workflow#484
cx-luis-ventuzelos wants to merge 1 commit into
mainfrom
security/harden-release-workflow

Conversation

@cx-luis-ventuzelos

Copy link
Copy Markdown

Summary

  • Add explicit permissions: contents: read at workflow level, contents: write scoped to the release job
  • Replace deprecated ::set-output with $GITHUB_OUTPUT
  • Fix script injection by moving all inputs.* and env.* context expressions to env vars in run steps
  • Replace PERSONAL_ACCESS_TOKEN with GITHUB_TOKEN
  • Update pinned action SHAs: actions/checkout v6.0.3, actions/setup-java v5.2.0, actions/cache v5.0.5
  • Comment out cache, notify, and dispatch_auto_release jobs

- Add permissions: workflow level contents:read, job level contents:write
- Replace deprecated ::set-output with GITHUB_OUTPUT
- Fix script injection by moving inputs to env vars in run steps
- Fix env context injection in mvn and artifactId steps
- Replace PERSONAL_ACCESS_TOKEN with GITHUB_TOKEN
- Update action pins: checkout v6.0.3, setup-java v5.2.0, cache v5.0.5
- Comment out cache, notify and dispatch_auto_release jobs
@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:

  • jwgmeligmeyling/spotbugs-github-action@b8e2c3523acb34c87f14e18cbcd2d87db8c8584e

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.

@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