Pull Requests | Issues | v3.1.1...v3.2.0-0
Features
#199 #245 Support patching the comment of tfcmt plan
The option -patch
has been added to tfcmt plan
command.
tfcmt plan -patch -- terraform plan -no-color
⚠️ tfcmt apply
doesn't support patching. We think the comment of terraform apply
shouldn't be patched.
Motivation
By patching the comment instead of creating a new comment, you can keep the pull request comments clean.
Trouble shooting
If the comment isn't patched expectedly, please set -log-level=debug
.
$ tfcmt -log-level=debug plan -patch -- terraform plan -no-color
⚠️ Run github-comment hide
after running tfcmt plan -patch
If you hide comments using github-comment hide,
you have to run github-comment hide
after running tfcmt plan -patch
.
Otherwise, comments may be hidden before patching.