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
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+95-6Lines changed: 95 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,103 @@ This project follows the [Contributor Covenant](https://www.contributor-covenant
8
8
9
9
## Ways to Contribute
10
10
11
-
-**New health checks** - Propose or implement checks for database issues not yet covered. Use `feature/` for new health checks
12
-
-**Bug fixes** - Found something broken? PRs welcome. Use `bug/` for bug fix branches
13
-
-**Documentation** - Improve README, add examples, clarify explanations. Use `docs/` for any documentation releated contributions
11
+
-**New health checks** - Propose or implement checks for database issues not yet covered
12
+
-**Bug fixes** - Found something broken? PRs welcome
13
+
-**Documentation** - Improve README, add examples, or clarify explanations
14
14
-**Testing** - Validate checks across PostgreSQL versions and cloud providers
15
15
-**Feature requests** - Open an issue describing your idea
16
16
17
17
## Development Setup
18
18
19
19
The `testing/` directory contains integration and pgTAP coverage used to validate pgFirstAid against live PostgreSQL environments. You can run the test suite against any database you control by setting the standard PostgreSQL connection environment variables described in `testing/integration/README.md`.
20
20
21
+
## Conventional Commits
22
+
23
+
This project uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). Every commit message should use this format:
24
+
25
+
```
26
+
<type>[optional scope]: <description>
27
+
28
+
[optional body]
29
+
[optional footer(s)]
30
+
```
31
+
32
+
### Types
33
+
34
+
| Type | Usage | pgFirstAid example |
35
+
|------|-------|--------------------|
36
+
|`feat`| A new feature |`feat(checks): add check for inactive replication slots`|
37
+
|`fix`| A bug fix |`fix(indexes): avoid false positives for partial duplicate indexes`|
38
+
|`chore`| Maintenance, tooling, dependencies |`chore(ci): update PostgreSQL 18 test coverage`|
0 commit comments