From d03b9a9888118203abaff3571adbe366f5597022 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sun, 29 Dec 2024 12:07:20 -0500 Subject: [PATCH] fix(transfer): dont create labels if missing This is quite annoying if the target repo doesn't need those labels, or have a completely different label management approach. --- src/github.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.rs b/src/github.rs index c73afca9..d1588a0b 100644 --- a/src/github.rs +++ b/src/github.rs @@ -1055,7 +1055,7 @@ impl Issue { .graphql_query( "mutation ($issueId: ID!, $repoId: ID!) { transferIssue( - input: {createLabelsIfMissing: true, issueId: $issueId, repositoryId: $repoId} + input: {createLabelsIfMissing: false, issueId: $issueId, repositoryId: $repoId} ) { issue { id