Skip to content

Commit f4cc3b4

Browse files
committed
trying string interpolation for the properties I want read in last step
1 parent 64d095c commit f4cc3b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/label-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Generate labels for issue
4747
run: |
48-
jq -r -c '.[] | .number .body' ./unlabeled_issues.json | while read -r number && read -r body; do
48+
jq -r -c '.[] | "\(.number) \(.body)"' ./unlabeled_issues.json | while read -r number && read -r body; do
4949
echo "Generating labels for: Issue No. $number"
5050
LABELS=$(copilot --prompt "Pick labels from $labels for issue $number based on the content of $body" \
5151
--model gpt-4.1 \

0 commit comments

Comments
 (0)