Skip to content

add_pr_comment adds new comment for each run #41

Closed
@solvaholic

Description

@solvaholic

Description

From #35 (comment) :

The second thing is each time the action runs it adds a new comment to the PR which can get very noisy. The logger in octodns/octodns#156 (comment) checks the PR comments for one with <!-- octodns/plan --> and updates it if found or creates a new comment if it wasn't.

Expected Behavior

Update the existing comment, rather than create a new one

Actual Behavior

Each time the action runs it adds a new comment to the PR

Possible Fix

The logger in octodns/octodns#156 (comment) checks the PR comments for one with <!-- octodns/plan --> and updates it if found or creates a new comment if it wasn't.

Steps to Reproduce

  1. Enable and configure this action
  2. Enable and configure add_pr_comment
  3. Run octodns-sync to test changes
  4. Push more changes
  5. Run octodns-sync to test changes

Context

Your Environment

  • Version used: main
  • Link to your project:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions