Skip to content

ci: bind package-path workflow input before shell use - #83

Merged
joncinque merged 1 commit into
solana-program:mainfrom
SashaMIT:ci/bind-package-path-input-env
Aug 6, 2026
Merged

ci: bind package-path workflow input before shell use#83
joncinque merged 1 commit into
solana-program:mainfrom
SashaMIT:ci/bind-package-path-input-env

Conversation

@SashaMIT

@SashaMIT SashaMIT commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Binds inputs.package-path into step env: before shell use in publish workflows when computing TARGET.

Context

GitHub Actions expands ${{ inputs.* }} before the shell runs. Binding through env: keeps the value out of the script text.

Test plan

  • Confirm publish workflows still validate
  • Next publish path still computes TARGET from package-path

Made with Cursor

Move inputs.package-path into step env before bash interpolation in
publish workflows when computing TARGET.

Co-authored-by: Cursor <cursoragent@cursor.com>

@joncinque joncinque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! These workflows aren't susceptible to the injection attack, but it doesn't hurt to clean up

@joncinque
joncinque merged commit 2875e8d into solana-program:main Aug 6, 2026
22 checks passed
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