Skip to content

apply merge conflict handling to decoupled workflow (#154) #41

apply merge conflict handling to decoupled workflow (#154)

apply merge conflict handling to decoupled workflow (#154) #41

Workflow file for this run

name: Sync default to main
on:
push:
branches:
- 'default'
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Sync default branch to main
run: |
git config user.name "Pantheon Automation"
git config user.email "[email protected]"
git checkout main
git merge --no-edit origin/default
git push origin main