Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: avoid synchronising scheduled jobs #1299

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/bpf-next-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: bpf-next-test

on:
# only runs on main, every 6 hours
schedule:
- cron: "0 */6 * * *"
# only runs on main, every 6 hours. specify hours explicitly so scheduled runs can be offset and use a random minute.
schedule:
- cron: "35 0,6,12,18 * * *"

jobs:
build-kernel:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/caching-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build-and-test

on:
# only runs on main, hourly cache update used by all branches
schedule:
- cron: "0 * * * *"
push:
pull_request:
merge_group:
# only runs on main, hourly cache update used by all branches. random minute to avoid synchronised scheduled workflows.
schedule:
- cron: "8 * * * *"
push:
pull_request:
merge_group:

jobs:
lint:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/for-next-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: for-next-test

on:
# only runs on main, every 6 hours
schedule:
- cron: "0 */6 * * *"
# only runs on main, every 6 hours. specify hours explicitly so scheduled runs can be offset and use a random minute.
schedule:
- cron: "22 1,7,13,19 * * *"

jobs:
build-kernel:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: stable-test

on:
# only runs on main, every 6 hours
# only runs on main, every 6 hours. specify hours explicitly so scheduled runs can be offset and use a random minute.
schedule:
- cron: "0 */6 * * *"
- cron: "40 2,8,14,20 * * *"

jobs:
build-kernel:
Expand Down