发布

  • [NA] [GHA] chore: upsert PR linter comment instead of spamming (#6632)

    frostbyte_neo 发布于 2026-05-07 15:42:30 +00:00

    • [NA] [GHA] chore: upsert PR linter comment instead of spamming new ones

    When the linter fails, update the existing comment rather than posting a new
    one on every push. When all checks pass, delete the comment automatically.
    Uses an HTML marker to identify the managed comment.

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    • test change

    • [NA] [GHA] fix: paginate comments and handle duplicate linter markers

    • Use github.paginate to fetch all comment pages before searching
    • Collect all marker comments with filter() instead of find()
    • On failure: keep newest marker comment (update it), delete extras
    • On success: delete all marker comments with Promise.all

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    • Revert "test change"

    This reverts commit 62218dcd5a2503929c77482288fc7be842f1de9a.


    Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com

    下载附件