unsplash / comment-on-pr

A GitHub Action to comment on the relevant open PR when a commit is pushed.
MIT License
150 stars 84 forks source link

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

Open fbontin opened 3 years ago

fbontin commented 3 years ago

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

mgoodness commented 3 years ago

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 🙏 .