You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: simplify CI by skipping terraform_docs in favor of local pre-commit (#52)
* fix: simplify CI by skipping terraform_docs in favor of local pre-commit
- Remove terraform_docs from CI checks to eliminate environment parity issues
- Skip documentation generation in CI (handled locally via pre-commit hooks)
- Remove terraform-docs installation step (no longer needed in CI)
- Simplify workflow by removing .md from path filters
- Update cache key version to bust stale cache
- Upgrade actions/setup-python to v5 and Python to 3.13
- Upgrade actions/cache to v4
- Consolidate push/PR run steps into single conditional step
- Streamline pre-commit summary for clarity
This approach:
- Keeps critical checks in CI: terraform_fmt, terraform_validate, tflint
- Relies on local pre-commit for documentation generation
- Uses AI review as additional quality gate for documentation accuracy
- Eliminates macOS vs Linux environment differences causing CI failures
Closes#51
* fix: address security and bug issues in pre-commit workflow
- Replace curl|bash tflint install with official terraform-linters/setup-tflint@v4 action
(eliminates supply chain attack vector)
- Fix file handling by converting newlines to spaces for pre-commit --files argument
- Add error handling for git fetch operation (|| exit 1)
Addresses feedback from bug hunt review.
0 commit comments