Skip to content

Update sync-with-template.yml #1

Update sync-with-template.yml

Update sync-with-template.yml #1

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 https://github.com/BaristaPHP/laravel-package-template
- 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