Skip to content

Commit

Permalink
Merge pull request #1299 from JakeHillion/pr1299
Browse files Browse the repository at this point in the history
ci: avoid synchronising scheduled jobs
  • Loading branch information
JakeHillion authored Feb 4, 2025
2 parents 51428e0 + bad1ae1 commit c862d3b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
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

0 comments on commit c862d3b

Please sign in to comment.