Skip to content

Commit

Permalink
fix(transfer): dont create labels if missing
Browse files Browse the repository at this point in the history
This is quite annoying if the target repo doesn't need those labels,
or have a completely different label management approach.
  • Loading branch information
weihanglo committed Dec 29, 2024
1 parent 0400514 commit d03b9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d03b9a9

Please sign in to comment.