zed/.github/workflows/update_weekly_top_ranking_issues.yml

18 lines
601 B
YAML
Raw Normal View History

2024-01-24 17:26:15 +00:00
on:
2024-01-24 19:40:55 +00:00
schedule:
2024-01-28 23:22:39 +00:00
- cron: "0 17 * * SUN"
2024-01-24 19:40:55 +00:00
workflow_dispatch:
2024-01-24 17:26:15 +00:00
jobs:
2024-01-24 19:40:55 +00:00
update_top_ranking_issues:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-01-24 19:40:55 +00:00
- uses: actions/setup-python@v4
with:
python-version: "3.10.5"
architecture: "x64"
cache: "pip"
2024-01-24 19:48:44 +00:00
- run: pip install -r script/update_top_ranking_issues/requirements.txt
2024-01-28 23:22:39 +00:00
- run: python script/update_top_ranking_issues/main.py 6952 --github-token ${{ secrets.GITHUB_TOKEN }} --prod --query-day-interval 7