-
-
Notifications
You must be signed in to change notification settings - Fork 0
docs: add Signed commits section to CONTRIBUTING #56
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 | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -118,3 +118,20 @@ 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 open a new PR. | ||||||||||||||||||
| Rebase-merge replays commits unsigned and is disabled. | ||||||||||||||||||
|
Comment on lines
+134
to
+137
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 Correct the rebase-merge guidance. The repository allows Suggested fix- Rebase-merge replays commits unsigned and is disabled.
+ Rebase merge is available, but squash merge is the project preference.📝 Committable suggestion
Suggested change
🤖 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/flatracoon
Length of output: 3492
Close the commit-message code fence before the signed-commit section.
The fence opened at line 115 remains open. GitHub Flavoured Markdown renders the signed-commit heading, list, and policy link as code.
Suggested fix
[optional footer] +``` ## Signed commits🤖 Prompt for AI Agents