github suzuki-shunsuke/github-comment v4.3.0-0

latest releases: v6.3.0, v6.3.0-1, v6.2.1...
pre-release2 years ago

Pull Requests | Issues | v4.2.0...v4.3.0-0

Features

#473 #474 #479 post command: Support editing an existing comment instead of creating a comment

The command line option -update-condition and the configuration field update have been added.

e.g.

$ github-comment post -update-condition 'Comment.HasMeta && Comment.Meta.TemplateKey == "foo"' -k foo

github-comment.yaml

---
post:
  yoo:
    template: hello
    update: |
      Comment.HasMeta && Comment.Meta.TemplateKey == "yoo"
  1. Update the comment matching with the condition. If multiple comments match, the latest comment is updated
  2. If no comment matches, a new comment is created

e.g.

image

Don't miss a new github-comment release

NewReleases is sending notifications on new releases.