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"
- Update the comment matching with the condition. If multiple comments match, the latest comment is updated
- If no comment matches, a new comment is created
e.g.