File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: rustc-pull
33on :
44 workflow_dispatch :
55 schedule :
6- # Run at 04:00 UTC every day
7- - cron : ' 0 4 * * * '
6+ # Run at 04:00 UTC every Monday
7+ - cron : ' 0 4 * * 1 '
88
99jobs :
1010 pull :
9494 else
9595 CREATED_AT=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].createdAt' --json createdAt,title`
9696 PR_URL=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].url' --json url,title`
97- week_ago=$(date +%F -d '7 days ago')
97+ week_ago=$(date +%F -d '6 days ago')
9898
9999 # If there is an open PR that is at least a week old, post a message about it
100100 if [[ -n $DATE_GH && $DATE_GH < $week_ago ]]; then
You can’t perform that action at this time.
0 commit comments