From f59763968ffc9b03a4a36ac7f9c9ed01f8d095ed Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 12 Nov 2025 11:14:20 +0000 Subject: [PATCH] ci(.github/workflows/traiage.yaml): adjust TASK_PROMPT (#20733) Adjusts instructions for the trAIage workflow to balance autonomy and correctness. --- .github/workflows/traiage.yaml | 17 +++++++---------- .gitignore | 3 +++ 2 files changed, 10 insertions(+), 10 deletions(-) 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 <