Skip to content

Readme automation

Readme automation #749

name: Readme automation
on:
workflow_dispatch:
schedule:
- cron: "38 17 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: update
uses: actions/setup-python@v2
- name: Git Config
run: |
git config --global user.email ${{ secrets.ACTION_MAIL }}
git config --global user.name ${{ secrets.ACTION_NAME }}
- name: Install Libraries
run: |
python -m pip install --upgrade pip
pip install Leetcode-problem-info
pip install pytz
pip install GitPython
pip install markdown
- name: Write README.md
run: |
python3 README_automation.py