From c0fe70c5f081605baf7f904d6469030aa2312f2a Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 20 Mar 2025 12:29:08 +0100 Subject: [PATCH 1/3] Make the CI work with merge queue grouping --- .github/workflows/test-suite.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index feb95d8ad..8904b6c75 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -6,6 +6,7 @@ on: # Everyday at 5:00am - cron: "0 5 * * *" pull_request: + merge_group: push: # trying and staging branches are for Bors config branches: From de6c7e551e04fe0cec72685dffc9a7da464b3122 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 20 Mar 2025 15:57:05 +0100 Subject: [PATCH 2/3] Remove bors references from the repository --- .github/workflows/test-suite.yml | 5 ----- CONTRIBUTING.md | 5 ++--- README.md | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8904b6c75..a13d51086 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -7,11 +7,6 @@ on: - cron: "0 5 * * *" pull_request: merge_group: - push: - # trying and staging branches are for Bors config - branches: - - trying - - staging env: CARGO_TERM_COLOR: always diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 26d5b74b4..e129e5600 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -150,7 +150,7 @@ Some notes on GitHub PRs: - The PR title should be accurate and descriptive of the changes. - [Convert your PR as a draft](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request) if your changes are a work in progress: no one will review it until you pass your PR as ready for review.
The draft PRs are recommended when you want to show that you are working on something and make your work visible. -- The branch related to the PR must be **up-to-date with `main`** before merging. Fortunately, this project uses [Bors](https://github.com/bors-ng/bors-ng) to automatically enforce this requirement without the PR author having to rebase manually. +- The branch related to the PR must be **up-to-date with `main`** before merging. Fortunately, this project uses [GitHub Merge Queues](https://github.blog/news-insights/product-news/github-merge-queue-is-generally-available/) to automatically enforce this requirement without the PR author having to rebase manually. ## Release Process (for internal team only) @@ -158,8 +158,7 @@ Meilisearch tools follow the [Semantic Versioning Convention](https://semver.org ### Automation to rebase and Merge the PRs -This project integrates a bot that helps us manage pull requests merging.
-_[Read more about this](https://github.com/meilisearch/integration-guides/blob/main/resources/bors.md)._ +This project uses GitHub Merge Queues that helps us manage pull requests merging. ### How to Publish a new Release diff --git a/README.md b/README.md index 42062781a..508efb14b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@

Dependency status License - Bors enabled + Merge Queues enabled

⚡ A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow 🔍

From 1ad4235beb12d5093ba2440968694686a26270b9 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 20 Mar 2025 16:28:08 +0100 Subject: [PATCH 3/3] Remove the bors file --- bors.toml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 bors.toml diff --git a/bors.toml b/bors.toml deleted file mode 100644 index 3d04b834c..000000000 --- a/bors.toml +++ /dev/null @@ -1,10 +0,0 @@ -status = [ - 'Tests on ubuntu-22.04', - 'Tests on macos-13', - 'Tests on windows-2022', - 'Run Clippy', - 'Run Rustfmt', - 'Run tests in debug', -] -# 3 hours timeout -timeout-sec = 10800