comment-on-pr icon indicating copy to clipboard operation
comment-on-pr copied to clipboard

When using parameter check_for_duplicate_msg, a warning is thrown by Github Actions

Open fbontin opened this issue 4 years ago • 1 comments

Hi!

When using this action with the optional parameter check_for_duplicate_msg, Github Actions logs a warning (see screenshot below).

Code:

- name: Post comment
  uses: unsplash/comment-on-pr@master
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    check_for_duplicate_msg: true
    msg: Hello

Screenshot: image

fbontin avatar Jan 25 '21 14:01 fbontin

Ran into this when pinning to v1.2.0. Looks like check_for_duplicate_msg was added later. I'm not a fan of following master, but that does work. Better would be to get a new version tagged/released 🙏 .

mgoodness avatar May 07 '21 17:05 mgoodness