Skip to content

Commit 56482ec

Browse files
authored
Run toolchain upgrade job only once a day (rust-lang#2356)
The toolchain upgrade job is currently running every 4h, and it is generating a lot of unnecessary notifications when the job is broken. The nightly toolchain is updated once a day, so there's no point in running an update that often.
1 parent 911b8b9 commit 56482ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/toolchain-upgrade.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Attempt toolchain update
55

66
on:
77
schedule:
8-
- cron: "42 */4 * * *" # Run this every four hours at minute 42 (random choice)
8+
- cron: "30 2 * * *" # Run this every day at 02:30 UTC
99
workflow_dispatch: # Allow manual dispatching for a custom branch / tag.
1010

1111
jobs:

0 commit comments

Comments
 (0)