Skip to content

Update Fork

Update Fork #27

Workflow file for this run

name: Update Fork
on:
schedule:
- cron: '0 0 * * *' # Täglich um Mitternacht
workflow_dispatch:
jobs:
update-fork:
runs-on: ubuntu-latest
steps:
- name: Checkout Fork
uses: actions/checkout@v4
with:
repository: chrisisth/pvpoke-limitless
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "chrisisth"
git config user.email "chris73757@gmail.com"
- name: Setup Upstream
run: git remote add upstream https://github.com/pvpoke/pvpoke.git
- name: Fetch Upstream
run: git fetch upstream
- name: Merge Upstream
run: git merge -X ours upstream/master --allow-unrelated-histories
- name: Push Changes
run: git push origin master