mirror of
https://github.com/github/awesome-copilot.git
synced 2026-07-14 10:01:06 +00:00
chore: publish from main
This commit is contained in:
@@ -194,8 +194,7 @@ jobs:
|
||||
marker="<!-- agt-contributor-check -->"
|
||||
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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user