Skip to content

Commit

Permalink
hotfix: change update method and fix typo
Browse files Browse the repository at this point in the history
Git merge was first used, however this created a new commit in the history which was unintended. This was then swapped over to rebasing
  • Loading branch information
kennyAgricultureVic committed Sep 24, 2024
1 parent 7da4b23 commit 65cf45e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/Auto-update-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: Auto update develop branch
on:
push:
branches:
- main
- main # Trigger on pushes to main branch
workflow_dispatch: # Allow manual triggering

jobs:
auto-merge:
runs-on: ubuntu-ladevelop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -17,5 +18,5 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
git checkout develop
git merge --no-ff origin/main
git push origin develop
git rebase origin/main
git push --force-with-lease origin develop

0 comments on commit 65cf45e

Please sign in to comment.