🩹 [Patch]: New module repositories ship the required community and governance files - #37
Merged
Merged
Conversation
…ty reporting Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… Gallery Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
The template contains {{ NAME }} in examples/General.ps1 but no {{ DESCRIPTION }} token, so the setup step pointed at something that does not exist.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Agent runtimes read AGENTS.md natively, so a separate Copilot-only pointer file is redundant duplication. Repository-Defaults still lists it; tracked in PSModule/docs#102. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
This was referenced Aug 2, 2026
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
August 2, 2026 11:30
Marius Storhaug (MariusStorhaug)
requested a review
from a team
as a code owner
August 2, 2026 11:30
8 tasks
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repositories created from this template now ship the community and governance files that the PSModule Repository Defaults standard requires, so a new module repository is compliant on its first commit instead of starting with a manual cleanup task. The template previously relied on the organization
.githubfallback, which is only surfaced in GitHub's web UI — agents, linters, and local tooling never see it.New: Security policy
SECURITY.mdstates that only the latest released version is supported and routes vulnerability reports to a private security advisory, withpsmodule@psmodule.ioas the fallback. It is deliberately worded so a reporter never opens a public issue for a vulnerability.New: Support routing
SUPPORT.mdtells users where to go: repository issues for the module,psmodule@psmodule.iofor anything that does not belong in public, and the PowerShell Gallery maintainers for Gallery problems. It points atSECURITY.mdfor vulnerabilities andCONTRIBUTING.mdfor people who want to fix it themselves.New: Code of conduct
CODE_OF_CONDUCT.mdis Contributor Covenant 2.1, matching the organization-level file, withpsmodule@psmodule.iofilled in as the enforcement contact instead of the[INSERT CONTACT METHOD]placeholder the org copy still carries.New: Pull request template
.github/pull_request_template.mdprompts for the PR Manager format from PR Format: the title pattern with its icon and change type, a user-facing summary, theNew/Changed/Fixed/Breaking Changessections, a technical section for reviewers, and a collapsible related-issues block. All guidance is in HTML comments so it disappears from the rendered description and never leaks into generated release notes.Changed: Setup instructions name a placeholder that exists
The README told new module authors to replace
{{ NAME }}and{{ DESCRIPTION }}, but the template only ships{{ NAME }}(inexamples/General.ps1). The step now names only the placeholder that is actually there.Technical Details
.github/copilot-instructions.mdwas added and then removed again during this work. Repository Defaults still lists it as required, butAGENTS.mdat the repository root is the agent entry point and is read natively by the runtimes, so a Copilot-only pointer file is duplication that drifts. The stale table entry is tracked in Align Repository Defaults with the agent onboarding model, workflow filename, and supported Dependabot ecosystems docs#102.MSXOrg/Custotoday. Custo currently contains only a README and a LICENSE, and its bootstrap work is still in draft. Its predecessor,PSModule/Distributor, managesCODEOWNERS,LICENSE, linter settings,PSModule.yml,dependabot.yml,.gitattributes,.gitignore, instructions, hooks, and prompts for module repositories — it does not manage any of the files in this pull request. The template is therefore the right home for them right now. When Custo starts distributing community files, these copies become the seed for the managed source and further wording changes belong in Custo, not here.@PSModule/module-maintainersinCODEOWNERSresolves to a real team..github/workflows/workflow.yml, but all 24 surveyed module repositories useProcess-PSModule.ymland none has aworkflow.yml.workflow.ymlis the called reusable workflow insidePSModule/Process-PSModule, not the caller.package-ecosystem: "powershell", which does not exist in Dependabot —dependabot-core@dc2e4422dships 33 ecosystems and none of them cover PowerShell or the PowerShell Gallery. Adding it breaks the entire Dependabot configuration, including thegithub-actionsentry. All 24 surveyed repositories configuregithub-actions, and onlySodiumadds a second one (nuget, for its .NET assembly). The issue asks for the guidance to be restated as a rule — configuregithub-actionsplus whichever additional ecosystems apply and are supported by the current version of Dependabot — instead of a copy-paste block that goes stale.Related issues