Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Amitai Stern <[email protected]>
  • Loading branch information
AmiStrn committed Sep 16, 2024
1 parent d88c840 commit 638365c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vars/createGithubIssue.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ void call(Map args = [:]) {
}
else {
println("Creating new issue")
def untriagedLabel = label != "autocut" ? "--label \"untriaged\"" : ""
sh(
script: "gh issue create --title \"${args.issueTitle}\" ${bodyOption} --label \"${label}\" --label \"untriaged\" --repo ${args.repoUrl}",
script: "gh issue create --title \"${args.issueTitle}\" ${bodyOption} --label \"${label}\" ${untriagedLabel} --repo ${args.repoUrl}",
returnStdout: true
)
}
Expand Down

0 comments on commit 638365c

Please sign in to comment.