Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/autoSync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Synchronize to forked repo
on:
push:
branches:
- develop
- main

jobs:
sync:
name: Sync forked repo
runs-on: ubuntu-latest

steps:
- name: Checkout develop
- name: Checkout main
uses: actions/checkout@v4
with:
token: ${{ secrets.AUTO_SYNC_TOKEN }}
fetch-depth: 0
ref: develop
ref: main

- name: Add remote-url
run: |
Expand All @@ -25,7 +25,7 @@ jobs:

- name: Push changes to forked-repo
run: |
git push -f forked-repo develop
git push -f forked-repo main

- name: Clean up
run: |
Expand Down