From a5b1241c8333428aa3c4ada418431a5bedc7be5e Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Fri, 18 Oct 2024 08:32:00 -0400 Subject: [PATCH] Cleanup --- MIGRATION.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 2fd2983..80d37a1 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -65,14 +65,15 @@ changes are required. Here is an example: To migrate from `buf-push-action` to `buf-action`, there are a few changes that need to be made: - `buf_token` has been renamed to `token`. - - `create_visibility` has been removed. The default visibility is `private`. - - `draft` has been removed. The default behavior of the action is to set the - labels using the `--git-metadata` flag. This will set the `--label` flag to - the branch name. Drafts have been deprecated in favor of labels. - -The new actions default behavior is to push the branch name as a label. This -behavior will be similar to existing workflows that use drafts. Here is an -example of how a migration would look: + - `create_visibility` has been removed. If the BSR repository doesn't exist + it will always be created with the visbility of `private`. To disable + creation of repositories set the parameter `push_disable_create` to `true`. + - `draft` has been removed. Drafts have been deprecated in favor of labels. + The default behavior of the action is to set the labels using git metadata. + This will be similar to the existing behaviour of drafts as the branch name + will be used for the label. + +Here is an example of how a migration would look: ```diff steps: