thollander / actions-comment-pull-request

GitHub action to comment pull request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deletion should delete new comment, not the "updated" one

koppor opened this issue · comments

The deletion does not work if an update happened (of a comment created an another workflow).

Steps:

  1. Workflow A creates comment
  2. Workflow A ends
  3. Workflow B starts (later)
  4. Workflow B creates new comment (instead of updating existing one)
  5. Workflow B post Action reports successful deletion. Comment from Workflow A is remived. Comment from Workflow B is still there.

Screenshot_2023-07-03-17-25-11-85_ffb2f5e1b976ff98cfc94f359fbce8de

Non-MWE:

JabRef/jabref#10057

State after post action of workflow B

Screenshot_2023-07-03-17-45-30-76_ffb2f5e1b976ff98cfc94f359fbce8de

Shipped in v2.4.1