Release/2.0.1 #6
Workflow file for this run
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: Merge to develop | |
on: | |
pull_request: | |
branches: [master] | |
types: [closed] | |
jobs: | |
merge-master-back-to-dev: | |
if: github.event.pull_request.merged == true | |
timeout-minutes: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Git config | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Github Actions" | |
- name: Merge master back to dev | |
run: | | |
git fetch --unshallow | |
git pull | |
git checkout develop | |
git pull | |
git merge --ff-only master | |
git push |