[Feat] Add -update-condition option for github-coment exec #972
Unanswered
ponkio-o
asked this question in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Overview
I want
-update-condition
option for exec subcommand.Already implemented on github-comment post.
#473
Why is the feature needed?
I'm using
github-comment exec
to post the results of thetfmigrate plan
with tfaction.https://github.com/suzuki-shunsuke/tfaction/blob/cabe7eaf085f72969afb407ba0270e4e7219cfa2/tfmigrate-plan/main.sh#L39-L43
This feature is very useful. But, increase new comment when added commit. Therefore, I want to replace exists comment instead of to post new comment.
Does the feature include Breaking Changes?
No
Example Code
$ github-comment exec -update-condition 'Comment.HasMeta && Comment.Meta.TemplateKey == "foo"' -k foo
Reference
tfmigrate plan
tfaction#899Beta Was this translation helpful? Give feedback.
All reactions