From 2fac7e31e1e7eab2be72307ed89e1cdc6b87c977 Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Tue, 20 Dec 2022 16:41:04 +0800 Subject: [PATCH] [action] Keep 'request for xxx branch' label when finished auto-cherry-pick. (#13107) Why I did it To keep 'Request for xxx branch' label when finished auto-cherry-pick. How I did it Change logic in post cherry pick action. How to verify it --- .github/workflows/pr_cherrypick_poststep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_cherrypick_poststep.yml b/.github/workflows/pr_cherrypick_poststep.yml index 1e9e497075..7be0b7d7cb 100644 --- a/.github/workflows/pr_cherrypick_poststep.yml +++ b/.github/workflows/pr_cherrypick_poststep.yml @@ -46,4 +46,4 @@ jobs: exit 1 fi gh pr edit $origin_pr_url --add-label "Included in ${base_ref} Branch" - gh pr edit $origin_pr_url --remove-label "Created PR to ${base_ref} Branch,Request for ${base_ref} Branch,Approved for ${base_ref} Branch" + gh pr edit $origin_pr_url --remove-label "Created PR to ${base_ref} Branch,Approved for ${base_ref} Branch"