mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 17:29:30 +02:00
Reapply "Merge branch 'main' of https://github.com/PokeRogue-Projects/Pathing-Tool"
This reverts commit 722ed15017
.
This commit is contained in:
parent
d94d5d6efb
commit
e76606f299
31
.github/workflows/auto-update.yml
vendored
Normal file
31
.github/workflows/auto-update.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: Update Fork
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *' # Runs every day at midnight
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-fork:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout fork
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: PokeRogue-Projects/Pathing-Tool
|
||||||
|
ref: Automerge
|
||||||
|
|
||||||
|
- name: Add upstream
|
||||||
|
run: git remote add upstream https://github.com/pagefaultgames/pokerogue.git
|
||||||
|
|
||||||
|
- name: Fetch upstream
|
||||||
|
run: git fetch upstream
|
||||||
|
|
||||||
|
- name: Merge upstream changes
|
||||||
|
run: |
|
||||||
|
git checkout main
|
||||||
|
git merge upstream/main
|
||||||
|
git push origin Automerge
|
Loading…
Reference in New Issue
Block a user