Skip to content

Commit 9acfafa

Browse files
authored
Merge pull request #433 from meilisearch/remove-bors
Remove bors and use GitHub merge queue
2 parents c07210d + 7ebeda9 commit 9acfafa

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

.github/release-draft-template.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,5 @@ template: |
2828
no-changes-template: 'Changes are coming soon 😎'
2929
sort-direction: 'ascending'
3030
replacers:
31-
- search: '/(?:and )?@bors(?:\[bot\])?,?/g'
32-
replace: ''
3331
- search: '/(?:and )?@meili-bot,?/g'
3432
replace: ''
35-
- search: '/(?:and )?@meili-bors[bot],?/g'
36-
replace: ''

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ name: Tests
33
on:
44
pull_request:
55
push:
6-
# trying and staging branches are for Bors config
76
branches:
8-
- trying
9-
- staging
107
- main
8+
merge_group:
119

1210
jobs:
1311
integration-tests:

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,13 @@ Some notes on GitHub PRs:
128128

129129
- [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.<br>
130130
The draft PR can be very useful if you want to show that you are working on something and make your work visible.
131-
- The branch related to the PR must be **up-to-date with `main`** before merging. Fortunately, this project [integrates a bot](https://github.com/meilisearch/integration-guides/blob/main/resources/bors.md) to automatically enforce this requirement without the PR author having to do it manually.
132131
- All PRs must be reviewed and approved by at least one maintainer.
133132
- The PR title should be accurate and descriptive of the changes. The title of the PR will be indeed automatically added to the next [release changelogs](https://github.com/meilisearch/meilisearch-rails/releases/).
134133

135134
## Release Process (for the internal team only)
136135

137136
Meilisearch tools follow the [Semantic Versioning Convention](https://semver.org/).
138137

139-
### Automation to Rebase and Merge the PRs <!-- omit in toc -->
140-
141-
This project integrates a bot that helps us manage pull requests merging.<br>
142-
_[Read more about this](https://github.com/meilisearch/integration-guides/blob/main/resources/bors.md)._
143-
144138
### Automated Changelogs <!-- omit in toc -->
145139

146140
This project integrates a tool to create automated changelogs.<br>

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<img src="https://codecov.io/gh/meilisearch/meilisearch-rails/branch/main/graph/badge.svg?token=9J7LRP11IR"/>
2020
</a>
2121
<a href="https://github.com/meilisearch/meilisearch-rails/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-informational" alt="License"></a>
22-
<a href="https://ms-bors.herokuapp.com/repositories/68"><img src="https://bors.tech/images/badge_small.svg" alt="Bors enabled"></a>
2322
</p>
2423

2524
<p align="center">⚡ The Meilisearch integration for Ruby on Rails 💎</p>
@@ -112,7 +111,7 @@ bin/rails meilisearch:install
112111

113112
The gem is compatible with [ActiveRecord](https://github.com/rails/rails/tree/master/activerecord), [Mongoid](https://github.com/mongoid/mongoid) and [Sequel](https://github.com/jeremyevans/sequel).
114113

115-
⚠️ Note that even if you want to use all the default options, you must declare an empty `meilisearch` block in your model.
114+
⚠️ Note that even if you want to use all the default options, you must declare an empty `meilisearch` block in your model.
116115

117116
#### Add documents <!-- omit in toc -->
118117

@@ -347,7 +346,7 @@ An enumerable `FederatedSearchResult` is returned, which can be iterated through
347346
348347
349348
<ul>
350-
<!-- Attack on Titan appears first even though it was specified second,
349+
<!-- Attack on Titan appears first even though it was specified second,
351350
it's ranked higher because it's a closer match -->
352351
<li>Attack on Titan</li>
353352
<li>Harry Potter and the Philosopher's Stone</li>
@@ -386,7 +385,7 @@ results = Meilisearch::Rails.federated_search(
386385

387386
### Loading records <!-- omit in toc -->
388387

389-
Records are loaded when the `:scope` option is passed (may be a model or a relation),
388+
Records are loaded when the `:scope` option is passed (may be a model or a relation),
390389
or when a hash query is used with models as keys:
391390

392391
```ruby
@@ -600,7 +599,7 @@ Meilisearch::Rails.deactivate! # all the following HTTP calls will be dismissed.
600599
601600
Meilisearch::Rails.deactivate! do
602601
# every Meilisearch call here will be dismissed, no error will be raised.
603-
# after the block, Meilisearch state will be active.
602+
# after the block, Meilisearch state will be active.
604603
end
605604
```
606605

@@ -686,7 +685,7 @@ class Book < ActiveRecord::Base
686685
end
687686
```
688687

689-
You can also set the `primary_key` as a method, this method will be evaluated in runtime, and its return
688+
You can also set the `primary_key` as a method, this method will be evaluated in runtime, and its return
690689
will be used as the reference to the document when Meilisearch needs it.
691690

692691
```rb

0 commit comments

Comments
 (0)