Skip to content

Commit ad1edb6

Browse files
authored
Merge pull request #703 from CommunityToolkit/feature/update-scheduled-releases-workflow
Fix workflow triggers and branch desync for scheduled releases
2 parents 1a6a85c + 824e329 commit ad1edb6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: CI
88
on:
99
# Triggers the workflow on push or pull request events but only for the main branch
1010
push:
11-
branches: [ main ]
11+
branches: [ main, 'rel/weekly' ]
1212
pull_request:
1313
branches: [ main, 'rel/weekly' ]
1414

.github/workflows/scheduled-releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
if: ${{ env.HAS_NEW_COMMITS == 'true' }}
5858
shell: pwsh
5959
run: |
60-
gh pr merge ${{ env.PR_NUMBER }} --auto --rebase
60+
# Should result in fast-forward unless branch histories diverge
61+
gh pr merge ${{ env.PR_NUMBER }} --auto --merge
6162
env:
6263
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)