parent change #2
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: Sync Parent Branch | |
on: | |
push: | |
branches: | |
- parent | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Fetch latest changes | |
run: git fetch origin | |
- name: Merge changes into parent branch | |
run: | | |
git checkout child | |
git merge origin/parent | |
git push origin child |