Skip to content

Commit

Permalink
pull before merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Nov 10, 2024
1 parent c0cc4a1 commit 25fc613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update-all-prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ for item in *; do
echo "Processing branch: $branch_name"
if [ -n "${master_branch}" ]; then
git checkout "${branch_name}"
git pull
git merge origin/"${master_branch}" --no-edit
git push
gh pr merge $(gh pr list --base "${master_branch}" --head "${branch_name}" --json number --jq '.[0].number' | xargs echo) --auto --merge
Expand Down

0 comments on commit 25fc613

Please sign in to comment.