NCodeGroup's organization profile, default community files and workflow templates. GitHub uses each default in every
NCodeGroup repository that has none of its own; a repository's own file, or its own .github/ISSUE_TEMPLATE/ folder,
takes precedence.
This repository is public for transparency and doesn't take outside contributions: only its collaborators open issues and pull requests.
| Default | Files |
|---|---|
| Organization profile | profile/README.md |
| Security policy | SECURITY.md |
| Contributing guide | CONTRIBUTING.md |
| Code of conduct | CODE_OF_CONDUCT.md |
| Governance | GOVERNANCE.md |
| Issue forms | .github/ISSUE_TEMPLATE/: Epic, Story, Task and Bug, each setting its issue type and asking for the sections the project template's Definition of Ready needs (ADR-0042); the chooser offers no blank issue to people without write access, and links the security policy and the contribution policy (ADR-1003) |
| Pull request template | .github/pull_request_template.md: asks what changes and why, the build and test commands run, the tools that helped, AI agents included, a DCO sign-off only where a repository asks for one, and the issue it closes |
| Workflow templates | workflow-templates/: NCode code review |
A repository's interaction limit lasts six months at most, so the NCodeGroup repositories that take no outside
contributions stay closed only while someone renews it. The workflow
.github/workflows/interaction-limits.yml renews the limit collaborators_only
for six months on every public NCodeGroup repository, archived ones and forks aside, whose contribution-policy custom
property makes it closed: maintainers, no value, or a value other than open and curated. It runs at 06:23 UTC on the
first of each month and on demand, and prints each repository's new expiry. It fails when a repository's property can't be
read or its renewal is refused, after trying every repository. It authenticates as an organization-owned GitHub App whose
token can do nothing else
(ADR-0052,
ADR-1002).
It needs a one-time setup by an organization owner:
- Create a GitHub App owned by NCodeGroup. Give it the repository permission Administration: Read and write and no other, no webhook, and make it installable only on this account. Install it on all repositories, so a new repository joins by its property.
- In this repository, create the environment
interaction-limits, with deployment branches limited to the default branch. - Give the environment the variable
INTERACTION_LIMITS_CLIENT_ID, the app's client ID, and the secretINTERACTION_LIMITS_PRIVATE_KEY, a private key generated for the app. - Run the workflow from Actions > Interaction limits > Run workflow, and check that it lists each repository's new expiry.
./tools/Update-InteractionLimit.ps1 runs the same renewal from a shell whose gh is signed in as an owner, and
tests/Test-InteractionLimit.ps1 tests it.
The quickest way to start is the dev container: open the repository in a GitHub Codespace, or in VS Code with the Dev
Containers extension, and .devcontainer/devcontainer.json installs PowerShell 7, so
the commands above run as they are. Without it, install Git and PowerShell 7. Run every command from the repository
root in PowerShell 7; ./tests/Test-InteractionLimit.ps1 runs the tests.