Skip to content

Update Dictionaries #192

Update Dictionaries

Update Dictionaries #192

Workflow file for this run

name: Update Dictionaries
on:
schedule:
- cron: '0 10 * * 1'
workflow_dispatch:
jobs:
update-dicts:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: lts/*
- name: Update dictionaries
run: |
npm ci --ignore-scripts
echo 'update_output<<EOF' >> $GITHUB_ENV
npm run update-db >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
git status
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RIKAIKUN_BOT_PAT }}
author: rikaikun[bot] <[email protected]>
push-to-fork: rikaikun-bot/rikaikun
commit-message: |
fix(dict): Update dictionaries to latest versions
${{ env.update_output }}
title: 'fix(dict): Update dictionaries to latest versions'
body: |
${{ env.update_output }}
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: rikaikun-bot/update-dicts