Create a pull request automatically to handle the problem when apply failed
Sometimes terraform apply
fails even if terraform plan
passed.
In that case, tfaction automatically creates a pull request with an empty commit to fix the failure.
If the problem would be solved by running terraform apply
again,
please merge the created pull request.
If any code fix is needed, please add commits to the created pull request and merge it.
Pull Requests are created per failed job. For example, if two jobs failed, two pull requests would be created.
.tfaction/failed-prs
As of tfaction v1.6.0, the behavior of this feature was changed.
tfaction creates a file .tfaction/failed-prs
in working directories to create follow up pull requests.
e.g.
# This file is created and updated by tfaction for follow up pull requests.
# You can remove this file safely.
https://github.com/suzuki-shunsuke/terraform-example/pull/1
💡 Skip creating pull requests
If you don't want to create pull requests by GitHub App, please see Support skipping creating pull requests.