update starred #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update starred | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 8 * * FRI | |
jobs: | |
awesome-stars: | |
name: update 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 mitch3lljones --repository starred --sort --token ${GITHUB_TOKEN} --message 'stars update by github actions cron' |