Skip to content

Update sync-with-template.yml #2

Update sync-with-template.yml

Update sync-with-template.yml #2

name: Sync with Template
on:
push:
branches:
- 1.x
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout old repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Ensures full history is fetched
- name: Add template repository as remote
run: git remote add template [email protected]:BaristaPHP/laravel-package-template.git
- name: Fetch latest changes from template
run: git fetch template
- name: Merge changes from template
run: |
git merge template/master --allow-unrelated-histories
git push origin master