Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb80dbea1b | ||
|
|
8c542bda16 | ||
|
|
885bdb0540 | ||
|
|
d35cf94c19 | ||
|
|
7dac914411 | ||
|
|
ecf93ff807 | ||
|
|
f2464e9f9b | ||
|
|
0ddadd3798 | ||
|
|
f09bc22e9a | ||
|
|
a6f2b3b8a4 | ||
|
|
0efa4b3ea6 |
@@ -1,23 +1,22 @@
|
|||||||
name: Sync Fork with Upstream
|
name: Sync Fork with Upstream
|
||||||
|
|
||||||
env:
|
env:
|
||||||
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn-apk.git"
|
||||||
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||||
UPSTREAM_BRANCH: "master"
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '18 2 * * *'
|
- cron: '0 5 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
upstream_repo: vindicus999/wivrn
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ env.WORKFLOW_TOKEN }}
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
@@ -34,13 +33,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.email "sneed@feedandse.edu"
|
git config --global user.email "sneed@feedandse.edu"
|
||||||
git config --global user.name "Sneed Chuckinson"
|
git config --global user.name "Sneed Chuckinson"
|
||||||
git checkout -B sync upstream/master
|
git checkout apk-build
|
||||||
git push origin sync --force
|
git reset --hard upstream/master
|
||||||
|
|
||||||
- name: Copy master -> apk-build
|
|
||||||
run: |
|
|
||||||
git checkout -B apk-build sync
|
|
||||||
git push origin apk-build --force
|
|
||||||
|
|
||||||
- name: Apply sneed changes
|
- name: Apply sneed changes
|
||||||
run: |
|
run: |
|
||||||
@@ -48,4 +42,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Push apk build
|
- name: Push apk build
|
||||||
run: |
|
run: |
|
||||||
git push origin apk-build --force
|
git push --force origin apk-build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user