Pull Requests | Issues | v4.3.0...v4.4.0
Features
#773 #774 Support skipping the post of a comment if the result of terraform plan
has no change
https://suzuki-shunsuke.github.io/tfcmt/skip-no-changes
You can skip posting a comment if there is no change using the command line option -skip-no-changes
or configuration field disable_comment
.
e.g.
$ tfcmt plan -skip-no-changes -- terraform plan
tfcmt.yaml
terraform:
plan:
when_no_changes:
disable_comment: true
If the option is set, tfcmt plan
adds or updates a pull request label but doesn't post a comment if the result of terraform plan
has no change and no warning.
Even if there are no comment, the pull request label lets you know the result.
This feature is useful when you want to keep pull request comments clean.