Run full CI once a day on main (#6288)
Use this to prime caches used by PRs to `main` and additionally the merge queue used to merge into `main`. While I'm here additionally update the trigger for merge-queue-based PRs to use `merge_group:` now that it's been fixed. Closes #6285
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -9,11 +9,16 @@ on:
|
|||||||
- main
|
- main
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
|
|
||||||
|
# Run full CI on the `main` branch once a day to prime the GitHub Actions
|
||||||
|
# caches used by PRs and the merge queue.
|
||||||
|
schedule:
|
||||||
|
- cron: '13 4 * * *'
|
||||||
|
|
||||||
|
# This is the CI that runs for PRs-to-merge.
|
||||||
|
merge_group:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
# This is an alternative to using `merge_group:` which doesn't work at the
|
|
||||||
# time of this writing.
|
|
||||||
- 'gh-readonly-queue/main/*'
|
|
||||||
# Right now merge queues can't be used with wildcards in branch protections
|
# Right now merge queues can't be used with wildcards in branch protections
|
||||||
# so full CI runs both on PRs to release branches as well as merges to
|
# so full CI runs both on PRs to release branches as well as merges to
|
||||||
# release branches. Note that the merge to a release branch may produce a
|
# release branches. Note that the merge to a release branch may produce a
|
||||||
|
|||||||
Reference in New Issue
Block a user