Skip to content

Commit

Permalink
Create schedules.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxufire authored Mar 6, 2022
1 parent 798f69e commit 4c76075
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/schedules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: update awesome-stars
on:
workflow_dispatch:
schedule:
- cron: 30 0 * * *
jobs:
awesome-stars:
name: update awesome-stars
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 wangxufire --repository awesome-stars --sort --token ${GITHUB_TOKEN} --message 'stars update by github actions cron'

0 comments on commit 4c76075

Please sign in to comment.