Update Fork #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |