Create pull.yml
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
version: "1"
|
||||||
|
rules:
|
||||||
|
- base: master
|
||||||
|
upstream: WiVRn:master
|
||||||
|
mergeMethod: hardreset
|
||||||
|
|
||||||
@@ -26,6 +26,10 @@ jobs:
|
|||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: merge alternate fork with master
|
||||||
|
run: |
|
||||||
|
git merge --no-commit origin/sneed
|
||||||
|
|
||||||
- name: Prepare Vulkan SDK
|
- name: Prepare Vulkan SDK
|
||||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
name: Sync Upstream
|
||||||
|
|
||||||
|
env:
|
||||||
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||||
|
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
|
||||||
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 5/6 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: GitHub Sync to Upstream Repository
|
||||||
|
uses: dabreadman/sync-upstream-repo@v1.3.0
|
||||||
|
with:
|
||||||
|
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||||
|
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||||
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
Reference in New Issue
Block a user