top_ranked_issues #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: top_ranked_issues | |
on: | |
# For testing purposes (can be removed later) | |
pull_request: | |
schedule: | |
# Runs every day at 3:00 AM UTC | |
- cron: '0 3 * * *' | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 # This ensures the repository code is available | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install PyGithub | |
- name: Run Script | |
run: | | |
python ./scripts/update_top_ranking_issues.py |