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
docs: update CONTRIBUTING and PR template for act + pre-commit workflow
Replace Makefile-based dev instructions with pre-commit hooks, pre-push
hooks, and act for local CI parity; add new prerequisites and one-time
setup command.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+43-18Lines changed: 43 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,10 +45,18 @@ Feature requests are welcome! Please include:
45
45
- Update documentation as needed
46
46
47
47
3.**Test your changes**
48
+
49
+
Pre-commit hooks run automatically on `git commit` (fmt, validate, lint, docs) and pre-push hooks run on `git push` (terraform test + YAML schema self-tests). To run all hooks manually without committing:
50
+
51
+
```bash
52
+
pre-commit run --all-files
53
+
```
54
+
55
+
To check CI parity before opening a PR:
56
+
48
57
```bash
49
-
make fmt # auto-format
50
-
make test# run tests with mock providers (no credentials needed)
51
-
make lint # run tflint
58
+
act
59
+
act -j <jobname>
52
60
```
53
61
54
62
4.**Commit with clear messages**
@@ -68,6 +76,11 @@ Feature requests are welcome! Please include:
68
76
- Terraform >= 1.7 (use [tfenv](https://github.com/tfutils/tfenv) or [asdf](https://asdf-vm.com/) — `.terraform-version` is provided)
0 commit comments