Skip to content

Merge pull request #223 from wp-graphql/feat/rebranding #7

Merge pull request #223 from wp-graphql/feat/rebranding

Merge pull request #223 from wp-graphql/feat/rebranding #7

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