Skip to content

Commit

Permalink
Fix sync job rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Jan 26, 2022
1 parent 57014aa commit a6527a2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/smithy-rs-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
token: ${{ secrets.AWS_SDK_RUST_CI_PAT }}
ref: ${{ env.sync_to_branch }}
path: aws-sdk-rust
# We need to fetch the full history since we need to
# rebase `next` onto `main` as part of the sync job.
fetch-depth: 0
- name: set identity
working-directory: aws-sdk-rust
run: |
git config --global user.name "AWS SDK Rust Bot"
git config --global user.email "[email protected]"
- name: checkout smithy-rs
uses: actions/checkout@v2
with:
Expand All @@ -48,7 +56,4 @@ jobs:
--max-commits-to-sync 5
- name: push commits
working-directory: aws-sdk-rust
run: |
git config --global user.name "AWS SDK Rust Bot"
git config --global user.email "[email protected]"
git push --force
run: git push --force

0 comments on commit a6527a2

Please sign in to comment.