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
Adds a DCO check workflow that fails PRs containing commits without a
Signed-off-by line. Updates CONTRIBUTING.md with instructions for git
commit -s and git rebase --signoff. After merging, add 'DCO sign-off' as
a required status check in GitHub Settings > Branches > main.
Co-authored-by: Paradoxbound <paradoxbound@paradoxbound.org>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,32 @@ npm run type-check
17
17
-`packages/core/` — BookStack API client and shared types (no runtime dependencies)
18
18
-`packages/stdio/` — MCP server with stdio transport
19
19
20
+
## Developer Certificate of Origin (DCO)
21
+
22
+
All commits must include a `Signed-off-by` line asserting that you are legally authorised to make the contribution under the project's MIT License (see the [Developer Certificate of Origin](https://developercertificate.org/)).
23
+
24
+
Sign off automatically with:
25
+
26
+
```bash
27
+
git commit -s -m "your commit message"
28
+
```
29
+
30
+
This adds `Signed-off-by: Your Name <your@email.com>` to the commit message. A CI check enforces this on every pull request.
31
+
32
+
To fix unsigned commits before opening a PR:
33
+
34
+
```bash
35
+
git rebase --signoff HEAD~<number-of-commits>
36
+
```
37
+
20
38
## Making changes
21
39
22
40
1. Fork the repository and create a branch from `main`
23
41
2. Make your changes
24
42
3. Ensure `npm run type-check` and `npm run build` pass
25
43
4. If you have a BookStack instance available, run `npm test` with the required environment variables (see below)
0 commit comments