Skip to content

Commit

Permalink
chore: fix sync workflow (#33486)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
gracelu0 authored Feb 19, 2025
1 parent d8b0da7 commit ff9fc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-from-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: |-
git remote add upstream https://github.com/aws/aws-cdk.git
git fetch upstream $BRANCHES
git lfs fetch upstream
git lfs fetch --all upstream
for branch in $BRANCHES; do
git push origin --force refs/remotes/upstream/$branch:refs/heads/$branch
Expand Down

0 comments on commit ff9fc77

Please sign in to comment.