From 1ab6c4c3bf25c378f7fa6a575e082ad4051692e9 Mon Sep 17 00:00:00 2001 From: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Date: Fri, 11 Oct 2024 02:48:16 -0400 Subject: [PATCH] chore: sync workflow needs git-lfs (#31708) i believe this is necessary as CDK requires git-lfs now. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .github/workflows/sync-from-upstream.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-from-upstream.yml b/.github/workflows/sync-from-upstream.yml index fba99dd721aba..924317761ac37 100644 --- a/.github/workflows/sync-from-upstream.yml +++ b/.github/workflows/sync-from-upstream.yml @@ -43,15 +43,21 @@ jobs: contents: write needs: [check-secret] steps: - - name: Checkout using User Token + - name: Checkout using User Token (+ download lfs dependencies) if: needs.check-secret.outputs.ok == 'true' uses: actions/checkout@v4 with: + lfs: true token: ${{ secrets.PROJEN_GITHUB_TOKEN }} - - name: Checkout using GitHub Actions permissions + - name: Checkout using GitHub Actions permissions (+ download lfs dependencies) if: needs.check-secret.outputs.ok == 'false' uses: actions/checkout@v4 + with: + lfs: true + + - name: Checkout LFS objects + run: git lfs checkout - name: Sync from aws/aws-cdk run: |-