From 0f3955fa67dcc42aeee9dfd33fe110590ff46d21 Mon Sep 17 00:00:00 2001 From: LeoDiazL <116020815+LeoDiazL@users.noreply.github.com> Date: Wed, 19 Nov 2025 16:22:02 -0300 Subject: [PATCH 1/3] Add www to apex redirect option Added option to toggle redirect from www to apex domain in action.yaml. --- action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index e893206..0fef27d 100644 --- a/action.yaml +++ b/action.yaml @@ -123,6 +123,9 @@ inputs: aws_ecs_lb_ssl_policy: description: 'SSL Policy for HTTPS listener in ALB. Will default to ELBSecurityPolicy-TLS13-1-2-2021-06 if none provided.' required: false + aws_ecs_lb_www_to_apex_redirect: + description: 'Toggle redirect from www to apex domain. aws_r53_domain_name must be set.' + required: false aws_ecs_autoscaling_enable: description: 'Toggle ecs autoscaling policy' required: false @@ -307,7 +310,7 @@ runs: steps: - name: Deploy with BitOps id: deploy - uses: bitovi/github-actions-commons@v2 + uses: bitovi/github-actions-commons@Add-ECS-www-to-apex-option with: # Current repo vars gh_action_repo: ${{ github.action_path }} @@ -355,6 +358,7 @@ runs: aws_ecs_lb_redirect_enable: ${{ inputs.aws_ecs_lb_redirect_enable }} aws_ecs_lb_container_path: ${{ inputs.aws_ecs_lb_container_path }} aws_ecs_lb_ssl_policy: ${{ inputs.aws_ecs_lb_ssl_policy }} + aws_ecs_lb_www_to_apex_redirect: ${{ inputs.aws_ecs_lb_www_to_apex_redirect }} aws_ecs_autoscaling_enable: ${{ inputs.aws_ecs_autoscaling_enable }} aws_ecs_autoscaling_max_nodes: ${{ inputs.aws_ecs_autoscaling_max_nodes }} aws_ecs_autoscaling_min_nodes: ${{ inputs.aws_ecs_autoscaling_min_nodes }} From e9db66dd88566b4b4c3b68e354edfc02896961d2 Mon Sep 17 00:00:00 2001 From: LeoDiazL <116020815+LeoDiazL@users.noreply.github.com> Date: Wed, 19 Nov 2025 20:10:10 -0300 Subject: [PATCH 2/3] Change action to main --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 0fef27d..adbd3bb 100644 --- a/action.yaml +++ b/action.yaml @@ -310,7 +310,7 @@ runs: steps: - name: Deploy with BitOps id: deploy - uses: bitovi/github-actions-commons@Add-ECS-www-to-apex-option + uses: bitovi/github-actions-commons@main with: # Current repo vars gh_action_repo: ${{ github.action_path }} From e7267bb73435bd295cc1ceb01f353819f438c38b Mon Sep 17 00:00:00 2001 From: LeoDiazL Date: Wed, 19 Nov 2025 20:35:13 -0300 Subject: [PATCH 3/3] Fix commons version --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index adbd3bb..cfad435 100644 --- a/action.yaml +++ b/action.yaml @@ -310,7 +310,7 @@ runs: steps: - name: Deploy with BitOps id: deploy - uses: bitovi/github-actions-commons@main + uses: bitovi/github-actions-commons@v2 with: # Current repo vars gh_action_repo: ${{ github.action_path }}