Skip to content

Add a contributing guide that explains signed commits - #231

Merged
GaryJones merged 2 commits into
developfrom
GaryJones/vipplug-170-review
Oct 8, 2026
Merged

GaryJones merged 2 commits into
developfrom
GaryJones/vipplug-170-review

Conversation

@GaryJones

Copy link
Copy Markdown
Contributor

Summary

The develop and main rulesets now require signed commits, which means a pull request containing an unsigned commit can't be merged until its author re-signs and force-pushes. The plugin standards baseline asks for this to be stated in CONTRIBUTING.md, but this repository didn't have one, so an outside contributor would only discover the rule when the merge button stayed grey.

This adds a contributing guide, modelled on the one in BuddyPress Hidden Profiles and adapted to this repository's tooling (Composer scripts, unit and integration suites, a globally installed wp-env). The signing requirement sits in the pull request section with a link to GitHub's guide. The file is excluded from the release ZIP and the WordPress.org build through .distignore and .gitattributes, and the readme's Contributing section now points to it.

The rest of the baseline gaps in the ticket (merge methods, auto-merge, ruleset merge restrictions, private vulnerability reporting, secret scanning with push protection, and the label renames) were applied directly to the repository settings, so they aren't part of this diff.

Part of VIPPLUG-170.

The develop and main rulesets now reject unsigned commits, so an outside
contributor can open a pull request that can never be merged without
knowing why. The guide states the signing requirement up front, alongside
the setup, checks and workflow that were previously only in AGENTS.md.

It is kept out of the release ZIP and the WordPress.org build, as it is
only useful to people working on the repository.
@GaryJones
GaryJones requested a review from a team as a code owner October 8, 2026 18:32
@GaryJones GaryJones added the type: documentation Documentation improvements label Oct 8, 2026
@GaryJones GaryJones self-assigned this Oct 8, 2026
@GaryJones GaryJones added this to the Next 2.x milestone Oct 8, 2026
@GaryJones
GaryJones merged commit 68c0f96 into develop Oct 8, 2026
2 checks passed
@GaryJones
GaryJones deleted the GaryJones/vipplug-170-review branch October 8, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant