You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Omitted, or set to `null`| Changesets will be reconciled as fast as the code host allows; essentially the same as setting a single `{"rate": "unlimited"}` window. |
| Omitted, or set to `null`| Changesets will be reconciled as fast as the code host allows; essentially the same as setting a single `{"rate": "unlimited"}` window. |
36
36
| Set to an array (even if empty) | Changesets will be reconciled using the rate limit in the current window using [the leaky bucket behavior described below](#leaky-bucket-rate-limiting). If no window covers the current period, then no changesets will be reconciled until a window with a non-zero [`rate`](#rate) opens. |
37
-
| Any other value | The configuration is invalid, and an error will appear. |
37
+
| Any other value | The configuration is invalid, and an error will appear. |
38
38
39
39
#### Leaky bucket rate limiting
40
40
@@ -171,38 +171,38 @@ For those that require a separate API call, Batch Changes will only be able to d
171
171
172
172
Refer to the table below to see the levels with which each code host is supported:
173
173
174
-
Code Host | Changeset property or separate API call? | Support on merge | Support on close | Note
175
-
--------- | --------- | :-: | :-: | ----
176
-
Azure DevOps | Changeset property | ✓ | ✗ |
177
-
Bitbucket Cloud | Changeset property | ✓ | ✓ |
178
-
Bitbucket Server | API call | ✓ | ✓ |
179
-
GitHub | API call | ✓ | ✓ |
180
-
GitLab | Changeset property | ✓ | ✓ |
181
-
Gerrit | API call | ✗ | ✓ | Requires ["delete own changes" permission](https://gerrit-review.googlesource.com/Documentation/access-control.html#category_delete_own_changes) at minimum
174
+
Code Host | Changeset property or separate API call? | Support on merge | Support on close | Note
Gerrit | API call | ✗ | ✓ | Requires ["delete own changes" permission](https://gerrit-review.googlesource.com/Documentation/access-control.html#category_delete_own_changes) at minimum
182
182
183
183
## Commit signing
184
184
185
-
Batch Changes supports Commit Signing with GitHub Apps since version 5.1 and with SSH Keys since version 6.2.
185
+
Batch Changes supports commit signing with both GitHub apps and with SSH keys.
186
186
187
-
### Commit signing with SSH Keys (GitLab and GitHub)
187
+
### Commit signing with SSH keys (GitLab and GitHub)
188
188
189
-
<Callouttype="note"> This feature is supported only in Sourcegraph versions 6.2 or more.</Callout>
189
+
<Callouttype="note">Commit signing with SSH keys is currently Experimental and is supported only with Sourcegraph v6.2 or more.</Callout>
190
190
191
-
Commit signing with SSH keys can only be used in combination with a personal access token or fine-grained access token.
191
+
Commit signing with SSH keys can only be combined with a personal or fine-grained access token.
192
192
193
-
Sourcegraph can be configured to sign commits using SSH keys, both with user and site admin credentials.
193
+
Sourcegraph can be configured to sign commits using SSH keys with user and site admin credentials.
194
194
195
-
To enable **commit signing for your Batch Changes user**, navigate to **Settings > Batch Changes** and click on "Add credentials" for a GitHub or GitLab code host.
195
+
To enable **commit signing for your Batch Changes user**, navigate to **Settings > Batch Changes** and click **Add credentials** for a GitHub or GitLab code host.
196
196
197
197

198
198
199
-
If you already have a credential for the given code host, you have to remove it first.
199
+
If you already have a credential for the given code host, remove it first.
200
200
201
-
Enter your personal access token, and check the box "Sign commits on this code host". This will add an additional step to the setup flow. Click on "Next" and wait for Batch Changes to verify the access token.
201
+
Enter your personal access token, and check the "Sign commits on this code host" box. This will add a step to the setup flow. Click "Next" and wait for Batch Changes to verify the access token.
202
202
203
203

204
204
205
-
Once the credential is added, you can copy the public SSH key that Batch Changes will use to sign commits. You can view the public key at any time by clicking on "View Credentials".
205
+
Once the credential is added, you can copy the public SSH key Batch Changes will use to sign commits. You can view the public key anytime by clicking **View Credentials**.
206
206
207
207

208
208
@@ -211,13 +211,13 @@ Make sure you add it as a signing key.
211
211
212
212

213
213
214
-
To enable **commit signing as a site admin**, navigate to **Site Admin > Section: Batch Changes > Settings** and click on "Add credentials" for a GitHub or GitLab code host. The rest of the setup is the same as above.
214
+
To enable **commit signing as a site admin**, navigate to **Site Admin > Section: Batch Changes > Settings** and click **Add credentials** for a GitHub or GitLab code host. The rest of the setup is the same as above.
215
215
216
216

217
217
218
-
### Commit signing with GitHub Apps
218
+
### Commit signing with GitHub apps
219
219
220
-
<Callouttype="note"> The feature is currently in Beta stage and supported on Sourcegraph versions 5.1 or more.</Callout>
220
+
<Callouttype="note">Commit signing with GitHub apps is currently in Beta and is supported with Sourcegraph v5.1 or more.</Callout>
221
221
222
222
Sourcegraph can be configured to [sign commits pushed to GitHub](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) using a GitHub App. Commit signing prevents tampering by unauthorized parties and provides a way to ensure that commits pushed to branches created by Batch Changes actually do come from Sourcegraph. Enabling commit signing for Batch Changes can also help pass checks in build systems or CI/CD pipelines that require that all commits are signed and verified before they can be merged.
0 commit comments