Skip to content

Artifact mode posts a "No dependency warnings found" comment on every PR #207

Backlog

Description

@maksimgm

in artifact mode the "No dependency warnings found" comment gets posted on every PR. comment mode skips creating it when there are no warnings and no existing comment (#122), but comment-from-artifact always calls upsertComment with whatever the artifact has.

you can see it on this repo's own PRs, e.g. #197, #202, #204, which only got the "no warnings" comment.

I'd expect artifact mode to match comment mode, e.g. skip writing the artifact when there are no warnings (so the upload step is skipped), or put a flag in the artifact that comment-from-artifact checks before creating a new comment

Activity

  1. 43081j commented on Nov 26, 2026

    @43081j
    Contributor

    you're right 👍 it should skip the comment when there's nothing to report and no existing comment. i.e. if there is one already, update it

  2. maksimgm commented on Nov 26, 2026

    @maksimgm
    ContributorAuthor

    makes sense, want me to pick this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions