Skip to content

Commit 983d08a

Browse files
mballanceCopilot
andcommitted
Fix gh repo list jq: pipe to jq instead of using --jq --argjson
gh CLI's --jq flag does not accept --argjson; pipe output to jq -r instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f3a0ed0 commit 983d08a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/fvutils-weekly-report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
echo "Scanning fvutils org for repos pushed since $START_DATE ..."
3232
gh repo list fvutils --limit 100 --json name,pushedAt \
33-
--jq --argjson start "\"$START_DATE\"" \
33+
| jq -r --arg start "$START_DATE" \
3434
'.[] | select(.pushedAt >= $start) | .name' \
3535
> /tmp/active_repos.txt
3636

0 commit comments

Comments
 (0)