Skip to content

ci: remove redundant terraform-validate and tflint workflows#10

Open
dmchaledev wants to merge 1 commit into
mainfrom
claude/blissful-pascal-GbM4r
Open

ci: remove redundant terraform-validate and tflint workflows#10
dmchaledev wants to merge 1 commit into
mainfrom
claude/blissful-pascal-GbM4r

Conversation

@dmchaledev
Copy link
Copy Markdown
Contributor

Summary

  • terraform-validate.yml and tflint.yml are fully subsumed by ci.yml — same 20-module matrix, same fmt / validate / tflint checks — but use older tool versions (Terraform 1.9.5 vs 1.9.8, tflint v0.53.0 vs v0.55.0) and unpinned action refs (actions/checkout@v4 instead of the commit-SHA form required by ci.yml).
  • Every PR was generating ~40 duplicate check statuses and burning extra runner minutes on redundant jobs.
  • .tflint.hcl is added to ci.yml's paths: trigger to preserve the intent that a lint-config change re-runs tflint (previously handled by the deleted tflint.yml).

What changed

File Action
.github/workflows/terraform-validate.yml Deleted — fully covered by ci.yml fmt + validate jobs
.github/workflows/tflint.yml Deleted — fully covered by ci.yml tflint job
.github/workflows/ci.yml Added .tflint.hcl to on.pull_request.paths and on.push.paths

Test plan

  • Confirm ci.yml still triggers on modules/** changes
  • Confirm ci.yml now triggers on .tflint.hcl changes
  • Confirm PR check list no longer shows duplicate terraform fmt / terraform validate / tflint entries
  • Verify no branch-protection rules reference the deleted workflow names (terraform-validate / tflint) — if they do, update the required-status-checks list to point to the equivalent ci.yml jobs (terraform fmt -check, terraform validate — <module>, tflint)

https://claude.ai/code/session_01EkHbmuzhSkPQFNreTrmN6k


Generated by Claude Code

Both workflows are fully subsumed by ci.yml — same 20-module matrix,
same fmt/validate/tflint checks — but use older tool versions (Terraform
1.9.5 vs 1.9.8, tflint v0.53.0 vs v0.55.0) and unpinned action refs
(actions/checkout@v4 instead of the SHA-pinned form in ci.yml).

Every PR was generating ~40 duplicate check statuses and burning extra
runner minutes on redundant jobs. Delete both files and add .tflint.hcl
to ci.yml's path triggers to preserve the intent that a lint-config
change re-runs tflint.

https://claude.ai/code/session_01EkHbmuzhSkPQFNreTrmN6k
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.

2 participants