noahnc/InfraPatch Github Action

A github action to update provider and module dependencies in terraform files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 19, 2025
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: noahnc/infrapatch@b529285e93c3d6de95a6b64f3ce3dbecdbd06a1d # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
target_branch_nameName of the branch where changes will be pushed to. Defaults to feature/infrapatch-botyesfeature/infrapatch-bot
repository_nameName of the repository to run the action in. Defaults to the current repositoryno${{ github.repository }}
default_registry_domainDefault registry domain to use for modules and providers without explicit registry domain set. Defaults to registry.terraform.ionoregistry.terraform.io
git_userGit user to use for commits. Defaults to InfraPatch BotnoInfraPatch Bot
git_emailGit email to use for commits. Defaults to bot@infrapatch.chnobot@infrapatch.ch
report_onlyOnly report new versions. Do not update files. Defaults to falseyesfalse
enabled_providersComma separated list of provider names to enable. Defaults to terraform_modules,terraform_providersyesterraform_modules,terraform_providers
terraform_registry_secretsRegistry secrets to use for private terraform registries. Needs to be a newline separated list of secrets in the format <registry_domain>:<secret_name>. Defaults to emptyno""
working_directory_relativeWorking directory to run the action in. Defaults to the root of the repositoryno
github_tokenGitHub access token. Defaults to github.token.${{ github.token }}
namedescription
target_branchName of the branch where changes will be pushed to