From 77f32aa4acd9a8473d244cb1facffc5f8b3ea730 Mon Sep 17 00:00:00 2001 From: Saurabh Shrihar Date: Fri, 30 Aug 2024 14:21:50 +0400 Subject: [PATCH] Checkout repo before calling reusable action --- .github/workflows/deploy_package.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy_package.yml b/.github/workflows/deploy_package.yml index bffed124..ac641f84 100644 --- a/.github/workflows/deploy_package.yml +++ b/.github/workflows/deploy_package.yml @@ -30,6 +30,11 @@ jobs: role-to-assume: "arn:aws:iam::${{ secrets[inputs.account_id] }}:role/${{ inputs.oidcrole }}-GithubActionsRole" role-session-name: GithubActionsSession + - name: Checkout Code Repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Execute Architecture for instance id: get_arch uses: ./.github/actions/ssm_execute