Skip to content

Commit 4f4d789

Browse files
committed
Fix pagination - use --jq instead of -q for proper pagination
1 parent 119400f commit 4f4d789

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-tracking-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
# GitHub team API requires team ID or uses different endpoint
2929
# For now, use org members and filter later if needed
3030
echo "Fetching org members (team API not accessible with current token permissions)"
31-
team_members=$(gh api --paginate orgs/rundeck-plugins/members -q '.[].login' | tr '\n' ' ')
31+
team_members=$(gh api orgs/rundeck-plugins/members --paginate --jq '.[].login' | tr '\n' ' ')
3232
3333
echo "Team members count: $(echo $team_members | wc -w)"
34-
echo "First 5 members: $(echo $team_members | cut -d' ' -f1-5)"
34+
echo "Team members: $team_members"
3535
3636
echo "# PR Report - $(date +%Y-%m-%d)" > pr-count.md
3737
echo "" >> pr-count.md

0 commit comments

Comments
 (0)