chore(deps): update suzuki-shunsuke/tfaction action to v2 (.github/workflows)#883
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update suzuki-shunsuke/tfaction action to v2 (.github/workflows)#883renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
66330c2 to
5ba3cf6
Compare
5ba3cf6 to
44aaa19
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
v1.15.5→v2.0.1v1.15.2→v2.0.1Release Notes
suzuki-shunsuke/tfaction (suzuki-shunsuke/tfaction)
v2.0.1Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v2.0.0...v2.0.1 | Base revision
🐛 Bug Fixes
#4018 Fix outdated documentation links
v2.0.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.20.1...v2.0.0 | Base revision
Finally, tfaction v2 is out 🎉
v1.20.1Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.20.0...v1.20.1 | Base revision
🐛 Bug Fixes
#3164 Fix a bug that update branch is run without Client/Server Model even if Securefix Action is enabled.
If Securefix Action is disabled, you can ignore this update.
tfaction-root.yaml
If Securefix Action is enabled, all commits should be created by Client/Server Model.
v1.20.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.5...v1.20.0 | Base revision
Features
#3150 plan, terraform-plan: Add the output
skipped. This output istrueif terraform plan is skipped🐛 Bug Fixes
#3150 plan: Fix a bug that outputs
plan_binary_pathandplan_json_pathare empty if tfmigrate is runv1.19.5Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.4...v1.19.5 | Base revision
🐛 Bug Fixes
#3062 Fix a bug that
list-targetsfails ifupdate_local_path_module_calleristrueand too many modules are called.The error
Argument list too longoccurs.Cause
list-module-callerspasses the list of modules by action's input, but too long input value causes the above error.We guess this is due to the OS limitation.
Solution
To solve the problem, this pull request changes how to pass the list of modules.
By this change, tfaction passes the list of modules through a temporary file.
tfaction writes the list to a temporary file, then the subsequent step reads it.
v1.19.4Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.3...v1.19.4 | Base revision
Features
#3048 Update the default versions of ci-info, tfcmt, and github-comment to support CodeBuild-hosted GitHub Actions runner
v1.19.3Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.2...v1.19.3 | Base revision
Improvement
#3023 Improve the pull request body of follow-up PRs
Embed the description of the original pull request into the description of follow-up PRs.
v1.19.2Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.1...v1.19.2 | Base revision
🐛 Bug Fixes
#2980 Fix a bug that generate-config-out fails due to checksum inconsistency
#2983 Fix a bug that list-module-callers if Terragrunt v0.85.0 or later is used
v1.19.1Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.19.0...v1.19.1 | Base revision
🐛 Bug Fixes
#2953 Fix a bug that replace doesn't work
v1.19.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.18.3...v1.19.0 | Base revision
Features
#2947 Add assignees from the original PR to follow-up PRs
Follow-up PRs should be handled by assignees of the original PR.
v1.18.3Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.18.2...v1.18.3 | Base revision
🐛 Bug Fixes
#2931 scaffold-working-dir, generate-config-out: Fix a bug that TFACTION_TARGET is empty
v1.18.2Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.18.1...v1.18.2 | Base revision
🐛 Bug Fixes
#2907 Fix a bug that follow-up PRs aren't created
v1.18.1Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.18.0...v1.18.1 | Base revision
🐛 Bug Fixes
#2906 Fix a bug that follow-up PRs aren't created
v1.18.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.17.0...v1.18.0 | Base revision
Features
#2777 #2780 #2785 #2789 #2792 #2793 #2794 #2796 #2833 #2838 Support creating commits and pull requests by Securefix Action
You can fix and generate code and create pull requests by Securefix Action.
By default, tfaction fixes and generates code and create pull requests using a GitHub access token passed by the input
github_token, so the token requirescontents:writepermission.Securefix Action can fix and generate code and create pull requests more securely.
For more details, please see the document of Securefix Action.
Requirements
Securefix Action v0.2.0 or newer is required.
Please set up Securefix Action according to the document.
How to use
🛡️ Security
Pin actions
Stop removing release branches
Pin actions
tfaction composes of various actions, and they depend on each other.
For example, suzuki-shunsuke/tfaction/plan depends on suzuki-shunsuke/tfaction/terraform-plan, and suzuki-shunsuke/tfaction/terraform-plan depends on suzuki-shunsuke/tfaction/conftest.
Please see https://github.com/suzuki-shunsuke/tfaction/blob/v1.17.0/plan/action.yaml
suzuki-shunsuke/tfaction/plan@v1.17.0 depends on suzuki-shunsuke/tfaction/terraform-plan@v1.17.0, but the version of terraform-plan isn't pinned by full length commit SHA.
So even if you pin suzuki-shunsuke/tfaction/plan using full length commit SHA, terraform-plan isn't pinned by full length commit SHA.
This was a security concern when tfaction tags are compromised.
As of this release, the release flow of tfaction was improved and all dependent actions are pinned.
Please see https://github.com/suzuki-shunsuke/tfaction/blob/v1.18.0/plan/action.yaml
Stop removing release branches
When tfaction was released, the release branch was created but it was removed after the release tag was created.
But by removing release branches, the following warning was shown.
Please see https://github.com/suzuki-shunsuke/tfaction/tree/v1.17.0
This confused users, and even if commit SHA was compromised using SHA of fork repositories, it was hard to find it.
So we stopped removing release branches.
https://github.com/suzuki-shunsuke/tfaction/tree/v1.18.0
v1.17.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.16.1...v1.17.0 | Base revision
Features
#2744 Support limiting the number of changed working directories and modules in one pull request
Please see the document.
You can limit the number of changed working directories and modules in one pull request.
By default, there is no limit.
--
Why is the limit necessary?
You shouldn't change many working directories and modules in one pull request.
How to limit
tfaction-root.yaml
If
working_dirsandmodulesare less than1, they are ignored.How to resolve the failure
If CI fails due to this limit, you have two options:
limit_changed_dirsor changeworking_dirsandmodulesto0v1.16.1Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.16.0...v1.16.1 | Base revision
Bug Fixes
#2471 create-scaffold-pr: install ghcp
v1.16.0Compare Source
Issues | Pull Requests | suzuki-shunsuke/tfaction@v1.15.5...v1.16.0 | Base revision
Features
#2431 Follow-up PR Group Labels
This feature is disabled by default.
You can add pull request labels to group original pull requests and follow-up pull requests.
tfaction-root.yaml:
When the apply workflow fails, a pull request label is created and is added to an original pull request and new follow-up pull requests.
If the apply workflow fails again when a follow-up pull request is merged, a follow-up PR Group label of the follow-up pull request is added to a new follow-up pull request.
For instance, let's say a pull request
#100fails, and a follow-up PR#110is created.And a follow-up PR
#110fails, and a follow-up PR#120is created.In this case, a follow-up PR group label
tfaction:follow-up-pr-group/100is added to pull requests#100,#110, and#120.These pull requests are grouped by a label
tfaction:follow-up-pr-group/100.You can search pull requests by label.
Configuration
📅 Schedule: (UTC)
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.