Merge pull request 'fix: architect: jq integer/string type mismatch in has_open_subissues self-exclusion filter (#499)' (#514) from fix/issue-499 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
3c4ba5ff82
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ has_open_subissues() {
|
|||
|
||||
# Check each issue for the decomposition pattern using jq to extract bodies
|
||||
subissue_count=$(printf '%s' "$issues_json" | jq -r --arg vid "$vision_issue" '
|
||||
[.[] | select(.number != $vid) | select(.body // "" | contains("Decomposed from #" + $vid))] | length
|
||||
[.[] | select(.number != ($vid | tonumber)) | select(.body // "" | contains("Decomposed from #" + $vid))] | length
|
||||
' 2>/dev/null) || subissue_count=0
|
||||
|
||||
if [ "$subissue_count" -gt 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue