Skip to content

Commit 98104b0

Browse files
authored
Replace raw cron expressions with fuzzy schedules (#229)
1 parent 7a08986 commit 98104b0

7 files changed

Lines changed: 37 additions & 45 deletions

File tree

.github/workflows/daily-workflow-sync.lock.yml

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-workflow-sync.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
on:
3-
schedule:
4-
- cron: "0 13 * * 1-5" # Daily at 1 PM UTC, weekdays only
3+
schedule: daily on weekdays
54
workflow_dispatch:
65

76
permissions: read-all

workflows/ci-coach.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
description: Daily CI optimization coach that analyzes GitHub Actions workflows for efficiency improvements and cost reduction opportunities
33

44
on:
5-
schedule:
6-
- cron: daily
5+
schedule: daily
76
workflow_dispatch:
87

98
network:

workflows/daily-doc-updater.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
name: Daily Documentation Updater
33
description: Automatically reviews and updates documentation based on recent code changes
44
on:
5-
schedule:
6-
# Every day at a random time
7-
- cron: daily
5+
schedule: daily
86
workflow_dispatch:
97

108
network:

workflows/daily-file-diet.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Daily File Diet
33
description: Analyzes source files daily to identify oversized files that exceed healthy size thresholds, creating actionable refactoring issues
44
on:
55
workflow_dispatch:
6-
schedule:
7-
- cron: "0 13 * * 1-5"
6+
schedule: daily on weekdays
87
skip-if-match: 'is:issue is:open in:title "[file-diet]"'
98

109
permissions:

workflows/weekly-issue-summary.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ description: Creates weekly summary of issue activity including trends, charts,
44
timeout-minutes: 20
55

66
on:
7-
schedule:
8-
- cron: "0 15 * * 1" # Weekly on Mondays at 3 PM UTC
7+
schedule: weekly on monday
98
workflow_dispatch:
109

1110
permissions:

workflows/weekly-research.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ description: |
77
strategic decision-making.
88
99
on:
10-
schedule:
11-
# Every week, Monday (fuzzy scheduling to distribute load)
12-
- cron: "weekly on monday"
10+
schedule: weekly on monday
1311
workflow_dispatch:
1412

1513
permissions: read-all

0 commit comments

Comments
 (0)