Merge pull request #223 from wp-graphql/feat/rebranding #7
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: Keep develop in sync with main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
merge-main-back-to-develop: | |
timeout-minutes: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SYNC_TOKEN }} | |
- name: Set Git config | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Github Actions" | |
- name: Merge main back to develop | |
run: | | |
git fetch --unshallow | |
git checkout develop | |
git pull | |
git merge --no-ff origin/main -m "Auto-merge main back to develop" | |
git push |