Skip to content

Fix updater.yml syntax errors#96

Closed
tustanivsky wants to merge 5 commits intogetsentry:mainfrom
tustanivsky:fix/update-syntax
Closed

Fix updater.yml syntax errors#96
tustanivsky wants to merge 5 commits intogetsentry:mainfrom
tustanivsky:fix/update-syntax

Conversation

@tustanivsky
Copy link

This PR addresses minor errors that show up when using updater.yml.

Example error: https://github.com/getsentry/sentry-unreal/actions/runs/16870254170

Copy link
Contributor

@vaind vaind left a comment

Choose a reason for hiding this comment

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

I'm marking as request-changes just to block this. We need to land env vars properly in another PR

INPUT_PATTERN: ${{ inputs.pattern }}
run: "$env:RUNNER_TEMP/ghwf/updater/scripts/update-dependency.ps1" -Path "$env:INPUT_PATH" -Pattern "$env:INPUT_PATTERN"
run: |
& "$env:RUNNER_TEMP/ghwf/updater/scripts/update-dependency.ps1" -Path "$env:INPUT_PATH" -Pattern "$env:INPUT_PATTERN"
Copy link
Contributor

Choose a reason for hiding this comment

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

& evaluates the expression so it beats the purpose of the whole env var thing as a protection against code injection

@vaind vaind closed this Aug 11, 2025
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