Skip to content

Commit

Permalink
Update MergeMainIntoConsole.yml
Browse files Browse the repository at this point in the history
Runs only on main and uses merge and not pull.
  • Loading branch information
AndrewRichards-Code authored Aug 6, 2024
1 parent 6545898 commit 65023c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/MergeMainIntoConsole.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Merge main into console

on:
push:
branches:
- main
workflow_dispatch:

env:
Expand All @@ -27,5 +29,5 @@ jobs:
git config user.name "Automerge Bot"
git config user.email "[email protected]"
git config pull.rebase false
git pull ${{env.MAIN_REPO}} ${{env.MAIN_BRANCH}}
git push
git merge ${{env.MAIN_REPO}} ${{env.MAIN_BRANCH}}
git push

0 comments on commit 65023c9

Please sign in to comment.