Merge pull request #39 from plantinformatics/user-story-3 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |