noahnc/InfraPatch Github Action
A github action to update provider and module dependencies in terraform files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit May 19, 2025
- License
- GPL 3.0
Pinned Snippet
uses: noahnc/infrapatch@b529285e93c3d6de95a6b64f3ce3dbecdbd06a1d # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| target_branch_name | Name of the branch where changes will be pushed to. Defaults to feature/infrapatch-bot | yes | feature/infrapatch-bot |
| repository_name | Name of the repository to run the action in. Defaults to the current repository | no | ${{ github.repository }} |
| default_registry_domain | Default registry domain to use for modules and providers without explicit registry domain set. Defaults to registry.terraform.io | no | registry.terraform.io |
| git_user | Git user to use for commits. Defaults to InfraPatch Bot | no | InfraPatch Bot |
| git_email | Git email to use for commits. Defaults to bot@infrapatch.ch | no | bot@infrapatch.ch |
| report_only | Only report new versions. Do not update files. Defaults to false | yes | false |
| enabled_providers | Comma separated list of provider names to enable. Defaults to terraform_modules,terraform_providers | yes | terraform_modules,terraform_providers |
| terraform_registry_secrets | Registry 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 empty | no | "" |
| working_directory_relative | Working directory to run the action in. Defaults to the root of the repository | no | — |
| github_token | GitHub access token. Defaults to github.token. | — | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| target_branch | Name of the branch where changes will be pushed to |