Skip to content

Commit ef738a7

Browse files
committed
making sure im correctly storing the unlabeled issues as a shell variable
1 parent 9730748 commit ef738a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/label-issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
env:
1010
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11-
labels:
1211

1312
jobs:
1413
label-issues:
@@ -46,7 +45,8 @@ jobs:
4645
4746
- name: Generate labels for issue
4847
run: |
49-
issues=$(jq -c ./unlabeled_issues.json)
48+
issues='cat ./unlabeled_issues.json'
49+
echo "Unlabeled issues: $issues"
5050
for issue in $issues; do
5151
echo "Generating labels for: Issue No. $(echo "$issue" | jq -r '.number')"
5252
LABELS=$(copilot --prompt "Pick labels from $labels for issue $issue based on the content of $(echo "$issue" | jq -r '.body'))" \

0 commit comments

Comments
 (0)