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: CONTRIBUTING.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,26 @@ To ensure a transparent and trustworthy environment, we have established differe
24
24
2.**Forking**: Fork the repository and work on changes in your own branch.
25
25
3.**Pull Request**: Submit a PR from your fork. Ensure your branch is up to date with `main`.
26
26
27
+
### Signed Commits
28
+
29
+
A commit pushed to a branch in this repository is signed, and its commit email is an address verified on your GitHub account; a push carrying an unsigned commit is refused. A pull request from a fork needs none of this — the commit that lands on `main` is created and signed by GitHub.
30
+
31
+
Sign with the SSH key you already push with — [GitHub accepts an authentication key a second time as a signing key](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification):
Then register that public key on GitHub under Settings → SSH and GPG keys → New SSH key with the key type **Signing Key**, or run `gh ssh-key add ~/.ssh/id_ed25519.pub --type signing`. Until it is registered as a signing key, signatures made with it stay unverified. `vp install` warns when this is not configured.
40
+
41
+
If a push is refused, sign the commits your branch already carries and force-push:
42
+
43
+
```bash
44
+
git rebase --exec 'git commit --amend --no-edit -S' origin/main
45
+
```
46
+
27
47
### Compliance
28
48
29
49
Every commit on a pull request must be authored by an email address that resolves to the GitHub account that opened it, so set `git config user.email` accordingly before you commit.
Copy file name to clipboardExpand all lines: docs/contributor/local-development.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ Install and configure the following tools before you attempt a local build:
34
34
After `vp install`, `vp --version` prints the pinned `vite-plus`.
35
35
4.**NATS CLI (optional)** – Helpful when inspecting the webhook/sync event stream (NATS is disabled by default locally). The agent job queue runs on PostgreSQL and needs no NATS.
36
36
37
+
If you push branches to the repository rather than to a fork, configure commit signing as well — [CONTRIBUTING.md § Signed Commits](https://github.com/hephaestus-build/Hephaestus/blob/main/CONTRIBUTING.md#signed-commits) has the setup, and `vp install` warns while it is missing.
38
+
37
39
## Recommended IDE setup
38
40
39
41
Open the repository using the `project.code-workspace` file in VS Code and install the workspace recommendations (`@recommended` in the Extensions view). Key extensions include:
0 commit comments