Skip to content

ci(action): pass inputs to run steps through env - #264

Open
BryanFRD wants to merge 1 commit into
mainfrom
fix/261-action-env-inputs
Open

BryanFRD wants to merge 1 commit into
mainfrom
fix/261-action-env-inputs

Conversation

@BryanFRD

Copy link
Copy Markdown
Contributor

Moves generated-dir, definitions, test-script and the step outputs used in run: scripts into env: and references them as quoted shell variables.

Closes #261

@ferrfleet-interne ferrfleet-interne Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This removes every remaining ${{ }} expression from run: blocks in both files, so a crafted input or step output can no longer be injected into the shell. It also matches the pattern the "Validate definitions" step already uses. The expressions that remain are in with: and key:, where they are not run by a shell. Quoting is correct throughout. Nothing blocking.

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.

ci(action): pass inputs to run steps through env

1 participant