Skip to content

v4.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 May 09:47
· 927 commits to main since this release
v4.4.0
5e9bc7f

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.