fix: remove spaces in gh CLI --json args (formatter artifact)
This commit is contained in:
parent
4cfc96b04a
commit
fbac5fbcaf
1 changed files with 1 additions and 1 deletions
2
.github/skills/gh-tickets/next-ticket.ps1
vendored
2
.github/skills/gh-tickets/next-ticket.ps1
vendored
|
|
@ -13,7 +13,7 @@ $repo = "jreinemann-euris/krisenvorrat"
|
|||
|
||||
if ($IssueNumber -gt 0) {
|
||||
# Variante A: Explizite Issue-Nummer
|
||||
$json = gh issue view $IssueNumber --repo $repo --json number, title, labels | ConvertFrom-Json
|
||||
$json = gh issue view $IssueNumber --repo $repo --json number,title,labels | ConvertFrom-Json
|
||||
$labels = $json.labels | ForEach-Object { $_.name }
|
||||
$type = if ($labels -contains "block-planning") { "[B]" }
|
||||
elseif ($labels -contains "migration") { "[M]" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue