Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,21 @@ GitHub-required community-health files stay Markdown: `SECURITY.md`,

4. Security issues: follow `SECURITY.md` — report privately, never in a
public issue.

## 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 the
branch with signed commits (`git cherry-pick -S`) and update the existing PR
branch. Open a new PR only if repository controls prevent updating that branch.
Rebase-merge replays commits unsigned and is disabled.
18 changes: 18 additions & 0 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,21 @@ This root document exists because the estate docs gate
`CONTRIBUTING.md`, `CONTRIBUTING.adoc`, or `3-practice/CONTRIBUTING.adoc`
at the repository root. Estate documentation policy: AsciiDoc by default —
see `hyperpolymath/standards`.

== Signed commits

Every commit that reaches the default branch must be signed; a ruleset refuses
unsigned pushes. Estate policy:
https://github.com/hyperpolymath/standards/blob/main/docs/SIGNING-POLICY.adoc[SIGNING-POLICY].

* **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 the
branch with signed commits (`git cherry-pick -S`) and update the existing PR
branch. Open a new PR only if repository controls prevent updating that branch.
Rebase-merge replays commits unsigned and is disabled.
Loading