.github/workflows/digger_workflow.yml after your smoke test passes.
1) Authentication for OpenTaco PR automation
Keep these environment variables in your Digger step so OpenTaco can process PR events and post comments:2) Install the IaC tools you use
Add the relevant setup flags in the Digger action:- OpenTofu (default)
- Terraform
- Terragrunt
3) Configure OpenTaco state access (optional)
If your PR automation runs use OpenTaco State Management, configure TFE-compatible credentials in the workflow.- Store your OpenTaco token as a GitHub Actions secret (for example
TFE_TOKEN). - Set the TFE hostname input for your IaC engine.
- Pass the matching TFE token input for your IaC engine.
- OpenTofu
- Terraform
4) Authenticate to cloud providers
Use one provider block per workflow.- AWS
- GCP
- Azure
5) Set up caching
Start with default GitHub Actions cache behavior. If your repositories are large, add targeted caching using the guidance in Caching Strategies.Next step
After updating your workflow, open a PR with a change to at least project and verifyplan and digger apply still complete successfully.
