We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d88c840 commit 638365cCopy full SHA for 638365c
vars/createGithubIssue.groovy
@@ -76,8 +76,9 @@ void call(Map args = [:]) {
76
}
77
else {
78
println("Creating new issue")
79
+ def untriagedLabel = label != "autocut" ? "--label \"untriaged\"" : ""
80
sh(
- script: "gh issue create --title \"${args.issueTitle}\" ${bodyOption} --label \"${label}\" --label \"untriaged\" --repo ${args.repoUrl}",
81
+ script: "gh issue create --title \"${args.issueTitle}\" ${bodyOption} --label \"${label}\" ${untriagedLabel} --repo ${args.repoUrl}",
82
returnStdout: true
83
)
84
0 commit comments