Skip to content

Commit

Permalink
Update update-feature-branches.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Carvin-Yu authored Jan 7, 2024
1 parent ed77318 commit 3e8639a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-feature-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
git fetch --unshallow
for branch in $(git branch -r --list "origin/feature/*"); do
branch_name=$(echo $branch | sed 's/origin\///')
git checkout -B $branch_name $branch
git pull
git checkout -B $branch_name $branch || true
git pull || true
if git merge main --no-commit; then
git commit -m "Merge main into $branch_name"
git push origin $branch_name
Expand All @@ -35,4 +35,3 @@ jobs:
fi
done

0 comments on commit 3e8639a

Please sign in to comment.