Skip to content

Commit

Permalink
fix: adds clearer parameter setting for region
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanholz committed Aug 22, 2024
1 parent dba0636 commit 7c49ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gha_runner/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_aws_params() -> dict:
params = _env_parse_helper(params, "INPUT_AWS_IAM_ROLE", "iam_role")
params = _env_parse_helper(params, "INPUT_AWS_TAGS", "tags", is_json=True)
region_name = os.environ.get("INPUT_AWS_REGION_NAME")
if region_name is not None:
if region_name is not None or region_name != "":
params["region_name"] = region_name
home_dir = os.environ.get("INPUT_AWS_HOME_DIR")
if home_dir is not None:
Expand Down

0 comments on commit 7c49ae7

Please sign in to comment.