sourcegraph/doc/batch_changes
Kelli Rockwell 5d1f7e64d4
batches: automatically delete branches when changeset is merged/closed with site config setting (#52055)
This adds a new site setting, batchChanges.autoDeleteBranch, which, when enabled, will have Sourcegraph attempt to delete the branches for any changesets it has created when the changesets are merged or closed.
- If a code host supports this natively with a flag on the changeset, great! At any point when we would create or update the properties of a changeset on the code host, we check the setting in site config and make sure to send its updated value along in the payload, ensuring the flag always stays closely synced with the setting on Sourcegraph.
- If a code host does not support this natively, at any point when we close or merge a changeset on the code host, we check the setting in site config and, on successful close/merge, we send a follow-up request to delete the branch associated with the changeset.
2023-05-24 11:58:56 -07:00
..
explanations docs: change batch changes server-side to beta (#52009) 2023-05-16 17:50:03 +02:00
how-tos batches: automatically delete branches when changeset is merged/closed with site config setting (#52055) 2023-05-24 11:58:56 -07:00
references batches: Fix YAML reference docs subtitle hyperlinks (#51530) 2023-05-16 09:57:28 -07:00
tutorials doc: use prebuilt container for ruplacer in batch changes (#36459) 2022-06-24 12:18:19 +02:00
batch_changes-icon.svg Move campaigns docs to batch_changes docs (no content changes) (#18854) 2021-03-10 12:56:48 -08:00
CODENOTIFY batches: add self to CODENOTIFY files (#28330) 2021-11-30 02:52:21 +00:00
file-icon.svg Move campaigns docs to batch_changes docs (no content changes) (#18854) 2021-03-10 12:56:48 -08:00
index.md Monorepo is in beta (#43500) 2022-10-27 09:53:06 +02:00
quickstart.md batches: Fix hello world example (#36995) 2022-06-15 01:22:53 +02:00