github suzuki-shunsuke/tfcmt v3.4.0

latest releases: v4.13.0, v4.12.0, v4.11.0...
2 years ago

Pull Requests | Issues | v3.3.0...v3.4.0

Features

#387 #390 Create comments to pull request instead of commit

GitHub no longer shows commit comments in the pull request timeline 1.

From v3.4.0, tfcmt gets an associated pull request from commit hash and creates a comment to not commit but associated pull request.
If there is no associated pull request, tfcmt sends a comment to commit.

Example

$ tfcmt -v
tfcmt version 3.4.0-1 (48333cac413f4500b2631eebb9703a9edc5e0a9d)

$ terraform -v
Terraform v1.2.6
on darwin_arm64
+ provider registry.terraform.io/hashicorp/null v3.1.1
export GITHUB_TOKEN=xxx
export CIRCLECI=true
export CIRCLE_PROJECT_USERNAME=suzuki-shunsuke
export CIRCLE_PROJECT_REPONAME=test-github-action
export CIRCLE_SHA1=092cda867dea7b7a229bc2dcff64aaba8fb26f8d

suzuki-shunsuke/test-github-action@092cda8

$ tfcmt plan -- terraform plan
null_resource.foo: Refreshing state... [id=8966706083595703589]
null_resource.bar: Refreshing state... [id=7780302426904623778]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

👍 tfcmt v3.4.0 creates a pull request comment.

suzuki-shunsuke/test-github-action#104 (comment)

image

On the other hand, tfcmt v3.3.0 creates a commit comment.

suzuki-shunsuke/test-github-action@092cda8#commitcomment-80523712

image

Others

#392 Update Go from v1.18.4 to v1.18.5

Contributors

Thank you, Contributors!

@micnncim #387 #390

Footnotes

  1. https://github.blog/changelog/2022-08-04-commit-comments-no-longer-appear-in-the-pull-request-timeline/

Don't miss a new tfcmt release

NewReleases is sending notifications on new releases.