Skip to content

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

Merged
lehmanmj merged 2 commits into
aws-actions:mainfrom
hozzer:main
May 14, 2025
Merged

fix: ensure explicit inputs take precedence over environment variables#1355
lehmanmj merged 2 commits into
aws-actions:mainfrom
hozzer:main

Conversation

@hozzer
Copy link
Copy Markdown
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