Skip to content

perf(詞表): 腔翁, 嫌貶 #156

perf(詞表): 腔翁, 嫌貶

perf(詞表): 腔翁, 嫌貶 #156

Workflow file for this run

name: Sort phrase
on:
push:
branches:
- master
jobs:
sort_phrase:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas
- name: Sort phrase
run: |
cd ./script
chmod +x ./sort_phrase.py
./sort_phrase.py
cd ../
- name: commit
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
if [ -n "$(git status --porcelain)" ]; then
git commit -m "chore(詞表): sort"
git push origin master
fi