Skip to content

scheduled generate markdown #828

scheduled generate markdown

scheduled generate markdown #828

name: scheduled generate markdown
on:
workflow_dispatch:
schedule:
- cron: 30 0 * * *
jobs:
generate_README_dot_md:
name: generate README.md with starred
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install starred
- name: update repo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: starred --username arbal --repository awesome-stars --sort --token ${GITHUB_TOKEN} --message 'stars update by github actions cron'