Skip to content

Add opentofu smoke test#483

Open
diofeher wants to merge 1 commit into
dependabot:mainfrom
diofeher:add-opentofu-smoke-test
Open

Add opentofu smoke test#483
diofeher wants to merge 1 commit into
dependabot:mainfrom
diofeher:add-opentofu-smoke-test

Conversation

@diofeher

Copy link
Copy Markdown

Summary

  • Adds tests/smoke-opentofu.yaml and an opentofu/ fixture (mirrors the existing terraform/ fixture; opentofu reads .tf natively).
  • Without a smoke-opentofu*.yaml, the dependabot-core Smoke workflow's discover step produces an empty matrix when only opentofu/** files change, which fails the workflow. See https://github.com/dependabot/dependabot-core/actions/runs/25124115887.

Notes for reviewer

  • The output: block was recorded locally with dependabot test --local, so source.commit and the embedded base-commit-sha values are placeholders. Please run the Regenerate Test workflow (test: opentofu) after merge to pin them to the merged commit SHA.

Test plan

  • Trigger Regenerate Test (workflow_dispatch, test: opentofu) on main after merge and confirm the generated PR's diff is limited to source.commit / base-commit-sha updates.
  • Push a no-op commit to a dependabot-core branch touching opentofu/** and verify the Smoke workflow now expands the matrix and runs the e2e job.

Mirrors the terraform fixture so the Smoke workflow's discover step
produces a non-empty matrix when only opentofu/** files change in
dependabot-core. Without this file, an opentofu-only PR caused the
workflow to expand to an empty matrix and fail.

Output block was recorded with --local; source.commit and the
base-commit-sha values will be re-pinned in a follow-up commit once
this lands at a real upstream SHA.
@diofeher diofeher requested a review from a team as a code owner April 29, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant