forked from wine-mirror/wine
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 867 Bytes
/
rebase.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Rebase against original repo
#on: [push]
on:
schedule:
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
# * is a special character in YAML so you have to quote this string
- cron: '0 1 * * 6'
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Git configuration
run: |
git config user.name "Passw"
git config user.email "Passw_Passw@163.com"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git remote -vv
git branch -vv
- name: RUN `git pull master -r`
run: |
git remote add up https://github.com/wine-mirror/wine.git
git pull up master -r
git push origin HEAD:master --force