Skip to content

Commit 2816ed1

Browse files
authored
Update cron schedule (#2269)
* Update cron schedule * Only run action on pvlib/pvlib-python repostiory (not forks)
1 parent c52e600 commit 2816ed1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/top-ranked-issues.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: Update Top Ranked Issues
22

33
on:
4-
# For testing purposes (can be removed later)
5-
pull_request:
64
schedule:
7-
# # Runs every day at 3:00 AM UTC
8-
# - cron: '0 3 * * *'
9-
- cron: '*/10 * * * *'
5+
# Runs every day at 00:00 AM UTC
6+
- cron: '0 0 * * *'
107

118
jobs:
129
run-script:
1310
runs-on: ubuntu-latest
1411

12+
# Run only if the repository is pvlib/pvlib-python
13+
if: ${{ github.repository == 'pvlib/pvlib-python' }}
14+
1515
env:
1616
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717

0 commit comments

Comments
 (0)