mirror of
https://github.com/jimeh/terraform-cloudflare-email.git
synced 2026-02-19 09:56:40 +00:00
Replace the standalone release-please workflow with a unified CI workflow that runs formatting checks, terraform validate, docs freshness, and tflint on every push. Release-please is now handled by jimeh/release-please-manifest-action with GitHub App auth. Also: - Move release-please config files under .github/ - Add changelog-sections and always-update to release-please config - Add tflint with recommended terraform plugin preset - Add .gitignore for .terraform/ and .terraform.lock.hcl - Add lint and lint-fix Make targets - Clean .terraform.lock.hcl before terraform-docs runs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
375 B
Makefile
24 lines
375 B
Makefile
.PHONY: docs fmt lint lint-fix check
|
|
|
|
docs:
|
|
rm -f .terraform.lock.hcl
|
|
terraform-docs .
|
|
prettier --write README.md
|
|
|
|
fmt: docs
|
|
terraform fmt -recursive
|
|
|
|
lint:
|
|
tflint --init
|
|
tflint --format compact
|
|
|
|
lint-fix:
|
|
tflint --init
|
|
tflint --fix
|
|
|
|
check: lint
|
|
rm -f .terraform.lock.hcl
|
|
terraform-docs --output-check .
|
|
prettier --check README.md
|
|
terraform fmt -check -recursive
|