Skip to content

Add update-only configuration option to prevent initial creation of a comment in certain cases #87

@ahatzz11

Description

@ahatzz11

Hello!

I have a workflow where we have two actions that update the same comment. The first action posts a message saying a deployment was complete, and the second action posts a message saying the deployment was deleted. There's a case though where the deployment doesn't happen (e.g. only a README was changed and no deployment was created), but the 'deployment deleted' comment still gets made which is a bit misleading.

Is there an option to say 'only update a comment that already exists' instead of creating one? I looked through the docs and nothing immediately jumped out at me so I thought I'd start an issue to discuss it.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions