发布

  • [OPIK-6547] [INFRA] ci: add Scout issue triage workflow (#6776)

    frostbyte_neo 发布于 2026-05-20 20:04:01 +00:00

    • ci: add Scout issue triage workflow

    Run comet-ml/scout-repo-agent on newly opened issues to post a triage
    comment with similar issues, relevant source files, and a suggested fix.
    Manual workflow_dispatch is included for ad-hoc reruns against a specific
    issue number.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • fix: fall back to event issue number on issues.opened

    ISSUE_NUMBER only read github.event.inputs.issue_number, so for an
    issues.opened trigger the env var was set to the empty string. Scout's
    _get_issue_number() treats the var as authoritative whenever it is set
    (including empty), so int("") would raise and the job would fail before
    posting a comment.

    Mirror the concurrency-group expression and fall back to
    github.event.issue.number so auto-triage works and workflow_dispatch
    keeps using the manual input.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • Update scout.yml

    Change all secrets to be prefixed with SCOUT_


    Co-authored-by: Douglas Blank doug@comet.com
    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件