Skip to content

Update hide-older-comments in add-comment to support multiple comments #34949

@dholmes

Description

@dholmes

We have some cases where an agentic workflow provides two unique comments on each run. We are using a job that runs after safe-outputs to hide all but the last two, but this is brittle and relies heavily on GitHub Actions scripting.

We would like hide-older-comments to handle when max > 1 to either extend the workflow id, or provide some mechanism for hiding multiple outdated comments not provided by this run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions