diff --git a/.github/workflows/traiage.yaml b/.github/workflows/traiage.yaml index 044a0e38cd..ec08069538 100644 --- a/.github/workflows/traiage.yaml +++ b/.github/workflows/traiage.yaml @@ -133,18 +133,15 @@ jobs: issue_number="$(gh issue view "${ISSUE_URL}" --json number --jq '.number')" context_key="gh-${issue_number}" - # Fetch issue description using `gh` CLI - #shellcheck disable=SC2016 # The template string should not be subject to shell expansion - issue_description=$(gh issue view "${ISSUE_URL}" \ - --json 'title,body,comments' \ - --template '{{printf "%s\n\n%s\n\nComments:\n" .title .body}}{{range $k, $v := .comments}} - {{index $v.author "login"}}: {{printf "%s\n" $v.body}}{{end}}') - TASK_PROMPT=$(cat <