forked from pvlib/pvlib-python
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 838 Bytes
/
top-ranked-issues.yml
File metadata and controls
34 lines (26 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Update Top Ranked Issues
on:
schedule:
# Runs every day at 00:00 AM UTC
- cron: '0 0 * * *'
jobs:
run-script:
runs-on: ubuntu-latest
# Run only if the repository is pvlib/pvlib-python
if: ${{ github.repository == 'pvlib/pvlib-python' }}
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out the repository
uses: actions/checkout@v4 # 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 update_top_ranking_issues.py
run: |
python .github/workflows/update_top_ranking_issues.py