update_weekly_top_ranking_issues.yml

 1on:
 2  schedule:
 3    - cron: "0 15 * * *"
 4  workflow_dispatch:
 5
 6jobs:
 7  update_top_ranking_issues:
 8    runs-on: ubuntu-latest
 9    if: github.repository_owner == 'zed-industries'
10    steps:
11      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
12      - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
13        with:
14          python-version: "3.11"
15          architecture: "x64"
16          cache: "pip"
17      - run: pip install -r script/update_top_ranking_issues/requirements.txt
18      - run: python script/update_top_ranking_issues/main.py --github-token ${{ secrets.GITHUB_TOKEN }} --issue-reference-number 6952 --query-day-interval 7