github suzuki-shunsuke/tfcmt v0.2.0

latest releases: v4.14.0, v4.14.0-1, v4.13.0...
3 years ago

v0.1.0...v0.2.0
Milestone

Breaking Changes

https://github.com/suzuki-shunsuke/tfcmt/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.2.0+label%3A%22breaking+change%22

#32 feat: change the behavior of destroy warning

Feature

https://github.com/suzuki-shunsuke/tfcmt/pulls?q=is%3Apr+is%3Aclosed+milestone%3Av0.2.0+label%3Aenhancement

#32 feat: change the behavior of destroy warning

feat: change the behavior of destroy warning

AS IS

tfcmt posts a deletion warning comment as the other comment.

TO BE

tfcmt posts only one comment whose template is when_destroy.template.

    when_destroy:
      label: "destroy"
      label_color: "d93f0b"  # red
      template: |
        {{ .Title }}
        [CI link]( {{ .Link }} )
        This plan contains **resource deletion**. Please check the plan result very carefully!
        {{ .Message }}
        {{if .Result}}
        <pre><code>{{ .Result }}
        </pre></code>
        {{end}}
        <details><summary>Details (Click me)</summary>
        <pre><code>{{ .Body }}
        </pre></code></details>

And the default title of destroy warning is changed to ## :warning: Resource Deletion will happen :warning:.

Don't miss a new tfcmt release

NewReleases is sending notifications on new releases.