Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit 00a5e10

Browse files
committed
Fix vimdoc-ja vim-jp#279
1 parent 03d53a3 commit 00a5e10

File tree

3 files changed

+38
-10989
lines changed

3 files changed

+38
-10989
lines changed
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ref: https://qiita.com/KEINOS/items/3bcaa6cea853f6b63475
2+
name: Sync with upstream and bug fix
3+
4+
on:
5+
schedule:
6+
# Runs every day at 23:00 and 8:00 (UTC)
7+
# That is, 8:00 and 17:00 (JST)
8+
- cron: '0 8,23 * * *'
9+
10+
jobs:
11+
autosync:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v4
16+
- name: autosync
17+
env:
18+
NAME: Yuto Tanaka
19+
20+
UPSTREAM: https://github.com/vim-jp/vimdoc-ja.git
21+
run: |
22+
git config --global user.name ${NAME}
23+
git config --global user.email ${EMAIL}
24+
25+
git config --global pull.rebase merges
26+
27+
git remote add upstream ${UPSTREAM}
28+
29+
git fetch upstream
30+
31+
git merge --no-edit --allow-unrelated-histories upstream/master
32+
33+
rm -f doc/tags-ja
34+
echo "doc/tags-ja" > .gitignore
35+
git commit -am "Remove doc/tags-ja"
36+
37+
git push -f origin master

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
doc/tags-ja

0 commit comments

Comments
 (0)