From 470907cf71cb909f520d77d79961b80a654aee66 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 29 Nov 2024 01:33:02 +0300 Subject: [PATCH] Support https://github.com/cloudposse/github-action-atmos-terraform-plan/pull/92 --- action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index ff25313..4290d81 100644 --- a/action.yml +++ b/action.yml @@ -15,10 +15,14 @@ inputs: atmos-version: description: The version of atmos to install required: false - default: ">= 1.63.0" + default: ">= 1.99.0" atmos-config-path: description: The path to the atmos.yaml file required: true + skip-checkout: + description: "Disable actions/checkout. Useful for when the checkout happens in a previous step and file are modified outside of git through other actions" + required: false + default: 'false' debug: description: "Enable action debug mode. Default: 'false'" default: 'false' @@ -77,7 +81,7 @@ runs: - name: Atmos Apply if: env.ACTION == 'remediate' id: atmos-apply - uses: cloudposse/github-action-atmos-terraform-apply@v2 + uses: cloudposse/github-action-atmos-terraform-apply@aws-auth-optional with: component: ${{ steps.metadata.outputs.component }} stack: ${{ steps.metadata.outputs.stack }} @@ -85,6 +89,7 @@ runs: atmos-config-path: ${{ inputs.atmos-config-path }} atmos-version: ${{ inputs.atmos-version }} debug: ${{ inputs.debug }} + skip-checkout: ${{ inputs.skip-checkout }} - name: Check If GitHub Actions is Enabled For Component shell: bash