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

Commit

Permalink
Fix vimdoc-ja vim-jp#279
Browse files Browse the repository at this point in the history
  • Loading branch information
mimikun committed Nov 27, 2023
1 parent ab6d81d commit 2b2c7ef
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 11,112 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/sync_with_upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# ref: https://qiita.com/KEINOS/items/3bcaa6cea853f6b63475
name: Sync with upstream and bug fix

on:
schedule:
# Runs every day at 23:00 and 8:00 (UTC)
# That is, 8:00 and 17:00 (JST)
- cron: '0 8,23 * * *'

jobs:
autosync:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: autosync
env:
NAME: Yuto Tanaka
EMAIL: 13450321+mimikun@users.noreply.github.com
UPSTREAM: https://github.com/vim-jp/vimdoc-ja.git
run: |
git config --global user.name ${NAME}
git config --global user.email ${EMAIL}
git config --global pull.rebase merges
git remote add upstream ${UPSTREAM}
git fetch upstream
git merge --no-edit --allow-unrelated-histories upstream/master
rm -f doc/tags-ja
echo "doc/tags-ja" > .gitignore
git commit -am "Remove doc/tags-ja"
git push -f origin fixed
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc/tags-ja
Loading

0 comments on commit 2b2c7ef

Please sign in to comment.