Create PR from upstream updates
This commit is contained in:
parent
68b94cc366
commit
72d975fa29
25
.github/workflows/upstream.yml
vendored
Normal file
25
.github/workflows/upstream.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user