Skip to content

Commit

Permalink
Fix sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-rentner authored and github-actions committed Jan 27, 2023
1 parent e8fb0ff commit 0f0b8a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
run: echo "Syncing fork from $UPSTREAM_URL/$UPSTREAM_BRANCH to $GITHUB_REF"
- name: Sync latest commits from upstream repo
run: |
git config --global --add safe.directory .
git config user.name github-actions
git config user.email [email protected]
git remote add upstream $UPSTREAM_URL
git fetch upstream $UPSTREAM_BRANCH
git rebase --autosquash --autostash upstream/$UPSTREAM_BRANCH
Expand Down

0 comments on commit 0f0b8a6

Please sign in to comment.