File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Top Ranked Issues
2
+
3
+ on :
4
+ # For testing purposes (can be removed later)
5
+ pull_request :
6
+ schedule :
7
+ # # Runs every day at 3:00 AM UTC
8
+ # - cron: '0 3 * * *'
9
+ - cron : */10 * * * *
10
+ jobs :
11
+ run-script :
12
+ runs-on : ubuntu-latest
13
+
14
+ env :
15
+ GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16
+
17
+ steps :
18
+ - name : Check out the repository
19
+ uses : actions/checkout@v4 # This ensures the repository code is available
20
+
21
+ - name : Set up Python
22
+ uses : actions/setup-python@v5
23
+ with :
24
+ python-version : " 3.12"
25
+
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install PyGithub
30
+
31
+ - name : Run update_top_ranking_issues.py
32
+ run : |
33
+ python ./scripts/update_top_ranking_issues.py
You can’t perform that action at this time.
0 commit comments