2024-01-24 20:26:15 +03:00
|
|
|
on:
|
2024-01-24 22:40:55 +03:00
|
|
|
schedule:
|
|
|
|
- cron: "0 */12 * * *"
|
|
|
|
workflow_dispatch:
|
2024-01-24 20:26:15 +03:00
|
|
|
|
|
|
|
jobs:
|
2024-01-24 22:40:55 +03:00
|
|
|
update_top_ranking_issues:
|
|
|
|
runs-on: ubuntu-latest
|
2024-02-05 21:12:29 +03:00
|
|
|
if: github.repository_owner == 'zed-industries'
|
2024-01-24 22:40:55 +03:00
|
|
|
steps:
|
2024-01-26 05:03:23 +03:00
|
|
|
- uses: actions/checkout@v4
|
2024-01-24 22:40:55 +03:00
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: "3.10.5"
|
|
|
|
architecture: "x64"
|
|
|
|
cache: "pip"
|
2024-01-24 22:48:44 +03:00
|
|
|
- run: pip install -r script/update_top_ranking_issues/requirements.txt
|
2024-01-29 02:22:39 +03:00
|
|
|
- run: python script/update_top_ranking_issues/main.py 5393 --github-token ${{ secrets.GITHUB_TOKEN }} --prod
|