Skip to content

fix: ensure explicit inputs take precedence over environment variables #1355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2025

Conversation

hozzer
Copy link
Contributor

@hozzer hozzer commented May 14, 2025

Issue #1354

Description of changes:
This PR fixes an issue where environment variables from previous action runs were overriding explicitly provided inputs when the action is called multiple times in a workflow.

Modified translateEnvVariables() to only set input variables if they haven't already been set by GitHub Actions from the with: parameters.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lehmanmj lehmanmj self-requested a review May 14, 2025 17:07
@lehmanmj lehmanmj merged commit e56e6c4 into aws-actions:main May 14, 2025
6 of 7 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