Skip to content

Commit ff9fc77

Browse files
authored
chore: fix sync workflow (#33486)
### Issue # (if applicable) N/A ### Reason for this change Fix workflow failing with `Your push was rejected due to missing or corrupt local objects.` ### Description of changes Add `--all` to git lfs fetch command ### Describe any new or updated permissions being added n/a ### Description of how you validated changes Manually ran workflow and confirmed it succeeded ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d8b0da7 commit ff9fc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-from-upstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
run: |-
6464
git remote add upstream https://github.com/aws/aws-cdk.git
6565
git fetch upstream $BRANCHES
66-
git lfs fetch upstream
66+
git lfs fetch --all upstream
6767
6868
for branch in $BRANCHES; do
6969
git push origin --force refs/remotes/upstream/$branch:refs/heads/$branch

0 commit comments

Comments
 (0)