Skip to content

Commit 5bf9ef3

Browse files
committed
CI: Check URLs on schedule only to reduce false positives
Links occasionally fail due to network issues or other transient problems. This should not cause pull requests to fail checks. The check is now performed weekly at a random-looking time on Fridays (when server load isn't too high).
1 parent 2ec67eb commit 5bf9ef3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/check_urls.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: 🌐 Check URLs
22
on:
3-
push:
4-
pull_request:
53
schedule:
6-
# Every day at 18:00 UTC.
4+
# Every Friday at 16:27 UTC.
75
# URLs can decay over time. Setting up a schedule makes it possible to be warned
86
# about dead links as soon as possible.
9-
- cron: "0 18 * * *"
7+
- cron: "27 16 * * FRI"
108

119
jobs:
1210
check-urls:

0 commit comments

Comments
 (0)