zed/.github/workflows/update_weekly_top_ranking_issues.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
881 B
YAML
Raw Normal View History

2024-01-24 17:26:15 +00:00
on:
schedule:
- cron: "0 15 * * *"
workflow_dispatch:
2024-01-24 17:26:15 +00:00
jobs:
update_top_ranking_issues:
runs-on: ubuntu-latest
if: github.repository_owner == 'zed-industries'
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
2024-10-10 03:02:41 +00:00
- name: Set up uv
uses: astral-sh/setup-uv@v3
with:
2024-10-10 03:02:41 +00:00
version: "latest"
enable-cache: true
cache-dependency-glob: "script/update_top_ranking_issues/pyproject.toml"
- name: Install Python 3.12
run: uv python install 3.12
- name: Install dependencies
run: uv sync --project script/update_top_ranking_issues -p 3.12
- name: Run script
run: uv run --project script/update_top_ranking_issues script/update_top_ranking_issues/main.py --github-token ${{ secrets.GITHUB_TOKEN }} --issue-reference-number 6952 --query-day-interval 7