-
-
Notifications
You must be signed in to change notification settings - Fork 0
docs: add Signed commits section to CONTRIBUTING #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,3 +119,22 @@ We follow [Conventional Commits](https://www.conventionalcommits.org/): | |
| [optional body] | ||
|
|
||
| [optional footer] | ||
|
|
||
| ## Signed commits | ||
|
|
||
| Every commit that reaches the default branch must be signed; a ruleset refuses | ||
| unsigned pushes. Estate policy: | ||
| [SIGNING-POLICY](https://github.com/hyperpolymath/standards/blob/main/docs/SIGNING-POLICY.adoc). | ||
|
|
||
| - **People and interactive agents** sign with an SSH key registered on GitHub | ||
| as a *signing* key (`gpg.format=ssh`, `user.signingkey=<key>.pub`, | ||
| `commit.gpgsign=true`). The committer email must be verified on that account. | ||
| - **Apps, bots and workflows** never `git push` local commits. They write | ||
| through the API (`createCommitOnBranch` or the estate `signed-push` action) | ||
| so that GitHub signs each commit. | ||
| - Merge PRs with **squash**. The ruleset checks every commit on the PR branch, | ||
| not just the result, so one unsigned commit blocks the merge. Re-create such a | ||
| branch with signed commits (`git cherry-pick -S`) and force-push the updated | ||
| branch. Keep the existing PR; open a new PR only if branch rules prevent | ||
| updating the branch. | ||
| Rebase-merge replays commits unsigned and is disabled. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Document merge blocking, not push rejection. The signing policy documents that Suggested fix- A ruleset refuses unsigned pushes.
+ An unsigned commit on a PR branch blocks merging the PR.Apply this change in 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/verisimiser
Length of output: 1886
Use the estate-compliant recovery process in both contribution guides.
The Markdown instructions tell contributors to force-push and retain the existing pull request. The estate signing policy requires checking the rewritten branch, opening a new pull request, closing the old pull request, and not force-pushing. The AsciiDoc instructions also omit these required steps.
Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents