File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1313 create-or-update-pr :
1414 name : Create or Update PR to Staging
1515 runs-on : ubuntu-latest
16- # Skip if this is a sync commit from main
17- if : " !contains( github.event.head_commit.message, 'chore: sync version updates from main') "
16+ # Skip if this is a sync from main (by github-actions bot)
17+ if : " github.event.head_commit.author.name != 'github-actions[bot]' "
1818 permissions :
1919 contents : write
2020 pull-requests : write
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ jobs:
142142 git fetch origin develop:develop
143143 git checkout develop
144144
145- # Merge main changes
146- git merge main --no-ff -m "chore: sync version updates from main"
145+ # Merge main changes (allow fast-forward for clean sync)
146+ git merge main
147147
148148 # Push directly to develop
149149 git push origin develop
@@ -160,8 +160,8 @@ jobs:
160160 git fetch origin staging:staging
161161 git checkout staging
162162
163- # Merge main changes
164- git merge main --no-ff -m "chore: sync version updates from main"
163+ # Merge main changes (allow fast-forward for clean sync)
164+ git merge main
165165
166166 # Push directly to staging
167167 git push origin staging
You can’t perform that action at this time.
0 commit comments