Skip to content

Commit

Permalink
Merge pull request #44 from fhdsl/cansavvy/branch-conflicts
Browse files Browse the repository at this point in the history
Use rebase for preview
  • Loading branch information
caalo authored Jun 3, 2024
2 parents d38ce93 + 7196d11 commit d064f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
echo "changes=$changes" >> $GITHUB_OUTPUT
git add . --force
git commit -m 'Render preview' || echo "No changes to commit"
git pull --set-upstream origin $branch_name --allow-unrelated-histories --strategy-option=ours
git pull --rebase --set-upstream origin $branch_name --allow-unrelated-histories --strategy-option=ours
git push --force || echo "No changes to commit"
shell: bash

Expand Down

0 comments on commit d064f61

Please sign in to comment.