Update dependency suzuki-shunsuke/tfcmt to v3.4.2 #162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.0.0
->v3.4.2
Release Notes
suzuki-shunsuke/tfcmt
v3.4.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.4.1...v3.4.2
Bug Fixes
#451 Add pull request labels properly even if a pull request number isn't passed as an argument or an environment variable
tfcmt plan
gets an associated pull request from a commit hash if a pull request number isn't passed as an argument or an environment variable,and adds pull request labels according to the terraform plan result.
This update has fixed a bug that a pull request label isn't added properly.
If a pull request number is passed as an argument or an environment variable, this update isn't related.
v3.4.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.4.0...v3.4.1
Bug Fixes
#436 Fix links to GitHub Actions jobs in GitHub Enterprise
Others
#437 Update Go from v1.18.5 to v1.19.1
Contributors
Thank you, Contributors!
@Warashi #436
@hirosassa #412
v3.4.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@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
https://github.com/suzuki-shunsuke/test-github-action/pull/104/commits/092cda867dea7b7a229bc2dcff64aaba8fb26f8d
👍 tfcmt v3.4.0 creates a pull request comment.
https://github.com/suzuki-shunsuke/test-github-action/pull/104#issuecomment-1207331774
On the other hand, tfcmt v3.3.0 creates a commit comment.
suzuki-shunsuke/test-github-action@092cda8#commitcomment-80523712
Others
#392 Update Go from v1.18.4 to v1.18.5
Contributors
Thank you, Contributors!
@micnncim #387 #390
v3.3.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.5...v3.3.0
Features
#376 Support Google Cloud Build
Please set the environment variable
GOOGLE_CLOUD_BUILD
.And please set the following environment variables using substitutions.
COMMIT_SHA
BUILD_ID
PROJECT_ID
_PR_NUMBER
_REGION
Please specify the repository owner and name in
tfcmt.yaml
.e.g.
tfcmt.yaml
v3.2.5
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.4...v3.2.5
Others
#329 Windows Support 🎉
v3.2.4
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.3...v3.2.4
Bug Fixes
#317 Set
os.Stdin
when terraform command is runThis change allows you to run
terraform apply
without-auto-approve
option.AS IS
TO BE
v3.2.3
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.2...v3.2.3
Bug Fixes
#300 #304 Fix the support of GitHub Enterprise. Support setting GitHub API v4 endpoint
https://suzuki-shunsuke.github.io/tfcmt/github-enterprise
To use tfcmt for GitHub Enterprise, please set the following fields in
tfcmt.yaml
.e.g. tfcmt.yaml
v3.2.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.1...v3.2.2
Features
#288 (apply): Get the associated pull request with commit
The behavior of getting notification destination (pull request or commit) in
tfcmt apply
is improved.AS IS
TO BE
By getting associated pull request via GitHub API, this works even if the pull request was merged by squash merge.
Others
#279 Update Go to v1.18.1
#280 Update go-github to v43
#277 #278 #284 #287 Refactoring
v3.2.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.2.0...v3.2.1
Bug Fixes
#253 Fix the bug that comments of
tfcmt apply
patch comments oftfcmt plan
.Follow up #245
Affected versions: v3.2.0
v3.2.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.1.0...v3.2.0
Features
#199 #245 #248 #249 Support patching comments of
tfcmt plan
The option
-patch
has been added totfcmt plan
command.tfcmt plan -patch -- terraform plan -no-color
And the configuration option
plan_patch
has also been added.The command line option
-patch
takes precedence over configuration file optionplan_patch
.If you want to disable patching although
plan_patch
is true, please set-patch=false
.$ tfcmt plan -patch=false -- terraform plan -no-color
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
If you hide comments by github-comment hide and enable tfcmt plan's patch option,
you should be careful not to hide tfcmt plan's comments.
There are some ways to fix the problem.
github-comment hide
v3.1.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.1.0...v3.1.1
Bug Fixes
#241 Fix not removing stale labels if there are too many labels in the pull request
Thanks to kyontan.
tfcmt sets a pull request label.
When the result of
terraform plan
is changed, tfcmt removes an old label and sets a new label.But when the pull request has over 30 labels, tfcmt might not remove the old label.
This change fixes the bug.
Others
#237 #238 #239 Move the document to GitHub Pages
https://suzuki-shunsuke.github.io/tfcmt/
v3.1.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/tfcmt@v3.0.1...v3.1.0
Feature
#227 #231 Omit too long text in the template function
wrapCode
automaticallytfcmt fails to post a comment if the comment is too long because the maximum length of GitHub Comment is 65536.
To prevent the error, the template function
wrapCode
checks the length of the text and if the length is over 60000, the text is omitted as the following.Others
#233 Update Go from v1.17.5 to v1.18.0
v3.0.1
Compare Source
Pull Request | suzuki-shunsuke/tfcmt@v3.0.0...v3.0.1
Bug Fixes
#179 Fix the title when it fails to parse the result of
terraform apply
AS IS
TO BE
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
Footnotes
https://github.blog/changelog/2022-08-04-commit-comments-no-longer-appear-in-the-pull-request-timeline/ ↩