From 7f19be7380e2f659617bf934522289e535ace5ca Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Mon, 29 Jun 2026 12:23:17 +1000 Subject: [PATCH] Fix contributor check gh api marker argument error (#2151) * Fix contributor check comment upsert behavior Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix contributor check jq marker filtering Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/contributor-check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/contributor-check.yml b/.github/workflows/contributor-check.yml index ab6a09bf..779f3fee 100644 --- a/.github/workflows/contributor-check.yml +++ b/.github/workflows/contributor-check.yml @@ -194,8 +194,7 @@ jobs: marker="" comment_ids=$( gh api "repos/${{ github.repository }}/issues/$number/comments" --paginate \ - --arg marker "$marker" \ - --jq '.[] | select(.user.login == "github-actions[bot]" and ((.body // "") | contains($marker))) | .id' + | jq -r --arg marker "$marker" '.[] | select((.user.login // "") == "github-actions[bot]" and ((.body // "") | contains($marker))) | .id' ) comment_id=$(printf "%s\n" "$comment_ids" | sed -n '1p')