Merge pull request #16 from plantinformatics/gh-action/auto-update-de… #1
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 | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-ladevelop | |
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 merge --no-ff origin/main | |
git push origin develop |