drumandbytes/OpenTofu Updater
Keep OpenTofu/Terraform providers, Helm charts, modules, and container images up to date via automated PRs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 24, 2026
- License
- MIT
Pinned Snippet
uses: drumandbytes/opentofu-updater-action@6043846f571a2a86f8dec161c0e4c6bf5df0d2ec # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Directory containing .tf files to scan | no | . |
| versions-file | File containing required_providers block, relative to working-directory | no | versions.tf |
| ignore | Comma-separated list of providers/charts/modules/images to skip (by name or source) | no | "" |
| skip-providers | Skip provider version checks | no | false |
| skip-helm | Skip Helm chart version checks | no | false |
| skip-modules | Skip module version checks | no | false |
| skip-images | Skip container image version checks | no | false |
| create-pr | Open a pull request when updates are found | no | true |
| pr-title | Title for the pull request | no | chore: update OpenTofu versions |
| pr-branch | Branch name for the pull request | no | chore/opentofu-updater |
| pr-base | Base branch for the pull request | no | main |
| commit-message | Commit message for version bumps | no | chore: update OpenTofu versions |
| dry-run | Report changes without writing files or opening PRs | no | false |
| python-version | Python version to use | no | 3.12 |
| notification-method | Notification method: telegram, slack, discord, microsoft-teams, or none | no | none |
| telegram-bot-token | Telegram bot token (required when notification-method is telegram) | no | "" |
| telegram-chat-id | Telegram chat ID (required when notification-method is telegram) | no | "" |
| slack-webhook-url | Slack webhook URL (required when notification-method is slack) | no | "" |
| discord-webhook-url | Discord webhook URL (required when notification-method is discord) | no | "" |
| teams-webhook-url | Microsoft Teams webhook URL (required when notification-method is microsoft-teams) | no | "" |
| github-token | GitHub token for creating PRs and GHCR image lookups | no | ${{ github.token }} |
| dockerhub-username | Docker Hub username (raises rate limits for image lookups) | no | "" |
| dockerhub-token | Docker Hub access token | no | "" |
Outputs
| name | description |
|---|---|
| changes-detected | Whether any updates were found (true/false) |
| update-report | Markdown report of all changes |
| pr-number | Pull request number (if created) |
| pr-url | Pull request URL (if created) |