Skip to content

Main should rebase on Development after a merge (#5) #1

Main should rebase on Development after a merge (#5)

Main should rebase on Development after a merge (#5) #1

Workflow file for this run

name: Rebase main onto development
on:
push:
branches:
- development
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Git
run: |
git config --global user.name "Mechak Holondo"
git config --global user.email "[email protected]"
- name: Rebase development onto main
run: |
git fetch origin
git checkout main
git rebase origin/development
- name: Push changes
run: |
git push origin main --force