Skip to content

Commit

Permalink
fix: reinstate pull and do ff only
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmitr committed Jun 14, 2024
1 parent 958f9f9 commit 6d5dc37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-bindings-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "github-actions"
git config --global push.autoSetupRemote true
git config --global pull.ff only
if [ "${{ env.LDK_BRANCH_NAME }}" != "main" ]; then
git fetch
git checkout -b ${{ env.TARGET_BRANCH_PREFIX }}${{ env.LDK_BRANCH_NAME }}
git pull origin ${{ env.TARGET_BRANCH_PREFIX }}${{ env.LDK_BRANCH_NAME }} || true
fi
- name: Download bindings
Expand Down

0 comments on commit 6d5dc37

Please sign in to comment.