From 13aeb41d8108b2f7bff9d35f29adb9deb67ba0b1 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 29 Nov 2024 18:50:32 +0300 Subject: [PATCH 1/4] Added skip checkout input --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index a9bf17e..32206e2 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,10 @@ inputs: description: The head ref to checkout. If not provided, the head default branch is used. required: false default: ${{ github.sha }} + skip-checkout: + description: "Disable actions/checkout for head-ref. Useful for when the checkout happens in a previous step and file are modified outside of git through other actions" + required: false + default: 'false' atmos-version: description: The version of atmos to install required: false @@ -52,6 +56,7 @@ runs: node-version: 20 - uses: actions/checkout@v4 + if: ${{ inputs.skip-checkout != 'true' }} with: ref: ${{ inputs.head-ref }} From 07486f65ec06ddd76bb4a37e07503472ed3168f0 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 29 Nov 2024 19:53:00 +0300 Subject: [PATCH 2/4] Update test.yaml --- tests/stacks/orgs/test/core/auto/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/stacks/orgs/test/core/auto/test.yaml b/tests/stacks/orgs/test/core/auto/test.yaml index f7d14bf..84d1bc3 100644 --- a/tests/stacks/orgs/test/core/auto/test.yaml +++ b/tests/stacks/orgs/test/core/auto/test.yaml @@ -7,9 +7,11 @@ vars: components: terraform: test-1: - seed: 6 + vars: + seed: 6 test-2: settings: github: actions_enabled: true - seed: 2 + vars: + seed: 2 From 8ca605510a46002a46f37bcf4ec503fbea19579d Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 29 Nov 2024 19:53:19 +0300 Subject: [PATCH 3/4] Update test.yaml --- tests/stacks/orgs/test/plat/dev/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/stacks/orgs/test/plat/dev/test.yaml b/tests/stacks/orgs/test/plat/dev/test.yaml index 4e6150c..1292fc7 100644 --- a/tests/stacks/orgs/test/plat/dev/test.yaml +++ b/tests/stacks/orgs/test/plat/dev/test.yaml @@ -7,9 +7,11 @@ vars: components: terraform: test-3: - seed: 6 + vars: + seed: 6 test-4: settings: github: actions_enabled: true - seed: 2 + vars: + seed: 2 From ff92ec7127e9651b8c428b1a633f09dccfe7c823 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 29 Nov 2024 19:53:31 +0300 Subject: [PATCH 4/4] Update test.yaml --- tests/stacks/orgs/test/plat/sandbox/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/stacks/orgs/test/plat/sandbox/test.yaml b/tests/stacks/orgs/test/plat/sandbox/test.yaml index 146e349..bd23872 100644 --- a/tests/stacks/orgs/test/plat/sandbox/test.yaml +++ b/tests/stacks/orgs/test/plat/sandbox/test.yaml @@ -10,4 +10,5 @@ components: settings: github: actions_enabled: true - seed: 3 + vars: + seed: 3