Skip to content

v3.2.0-0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Apr 08:04
· 1652 commits to main since this release
b9b0cd9

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.