-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 952 Bytes
/
update.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
32
33
34
35
36
name: "Update Kanji Data from animCJK"
on:
schedule:
- cron: "0 22 * * *"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 55
steps:
- name: Checkout mnako/hanzi-writer-data-ja
uses: actions/checkout@v4
- name: Checkout parsimonhi/animCJK
uses: actions/checkout@v4
with:
repository: parsimonhi/animCJK
path: animCJK
- name: Update Kanji Data from animCJK
run: bash .github/workflows/update.sh
- name: Clean
run: rm -f data/.json && rm -rf animCJK
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update Kanji Data from the latest master of parsimonhi/animCJK.
title: Update Kanji Data
body: Update Kanji Data from the latest master of parsimonhi/animCJK.
branch: update/kanji
branch-suffix: timestamp