Skip to content

Merge pull request #39 from plantinformatics/user-story-3 #19

Merge pull request #39 from plantinformatics/user-story-3

Merge pull request #39 from plantinformatics/user-story-3 #19

name: Auto update develop branch
on:
push:
branches:
- main # Trigger on pushes to main branch
workflow_dispatch: # Allow manual triggering
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Merge main -> develop
run: |
git config user.name github-actions
git config user.email [email protected]
git checkout develop
git rebase origin/main
git push --force-with-lease origin develop