peter-evans / create-or-update-comment

A GitHub action to create or update an issue or pull request comment
MIT License
685 stars 113 forks source link

The body-path is set but says it is missing #244

Closed Gezi-lzq closed 1 year ago

Gezi-lzq commented 1 year ago

The body-path is set but says it is missing.

log:

Run peter-evans/create-or-update-comment@v3
  with:
    issue-number: 626
    reactions: +1
    body-path: diff.md
    body-file: diff.md
    token: ***
    repository: ***
    edit-mode: append
    append-separator: newline
    reactions-edit-mode: append
Error: Missing comment 'body' or 'body-path'.
Gezi-lzq commented 1 year ago

I know the answer, because although my file exists, but the content is empty.

peter-evans commented 1 year ago

In that case, technically it is "missing." 😄

Glad you've sorted it.