Create PR from upstream updates

This commit is contained in:
SX 2021-02-09 12:58:07 +02:00 committed by GitHub
parent 68b94cc366
commit 72d975fa29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/upstream.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Merge Upstream"
on:
schedule:
- cron: "30 20 * * *"
workflow_dispatch:
jobs:
pull:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
git config --global user.name 'Upstream Merge Action'
git config --global user.email '50966843+S-S-X@users.noreply.github.com'
git remote add -f upstream "https://cheapiesystems.com/git/digistuff"
git remote -v
git fetch upstream
git checkout master
git rebase upstream/master
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3