Skip to content

Commit 34d2759

Browse files
nrichersvalidbeck
andauthored
Simplify merge strategy for staging (#373)
* Simplify merge strategy * Minor workflow tweaks * Switch to test branches * Add comment to trigger workflow * Add comment to trigger workflow * Add comment to trigger workflow * Switch to squash merge * Add comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Try --ff strategy * Add test comment to trigger workflow * Add test comment to trigger workflow * Revert to --no-ff strategy * Try reset --hard * Switch to --merge for PRs * Switch back to merge --no-ff * Try merge --ff again * Add test comment to trigger workflow * Switch back to merge --no-ff * Add test comment to trigger workflow * Switch back to squash merging for PRs * Add test comment to trigger workflow * Remove test comments * Revert to --merge for PRs * Testing PR#373 - push to branch from local * Add comment to trigger workflow * Add comment to trigger workflow * Add comment to trigger workflow * Switch to squash merge * Add comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Remove comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Add test comment to trigger workflow * Switch to --merge for PRs * Add test comment to trigger workflow * Add test comment to trigger workflow * Switch back to squash merging for PRs * Add test comment to trigger workflow * Remove test comments * Revert to --merge for PRs * Undo test changes * Undo test comment --------- Co-authored-by: Beck <164545837+validbeck@users.noreply.github.com>
1 parent 3f4f03a commit 34d2759

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/merge-main-into-staging.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Merge main into staging
33
on:
44
push:
55
branches:
6-
- main
6+
- simplify-merge-strategy
77

88
permissions:
99
contents: write
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020
with:
2121
ref: staging
22+
fetch-depth: 0
2223

2324
- name: Configure git
2425
run: |
@@ -27,8 +28,7 @@ jobs:
2728
2829
- name: Merge in main branch
2930
run: |
30-
git fetch origin main:main
31-
git merge main --no-ff --allow-unrelated-histories --strategy-option theirs -m "Merging latest changes from main into staging"
31+
git merge --no-ff origin/main
3232
3333
- name: Create pull request
3434
id: pr-number

0 commit comments

Comments
 (0)