From ac8a2803c39da0375c04e80364f366ee9e9bb60c Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Fri, 5 Dec 2025 04:34:46 -0600 Subject: [PATCH] Loaded default `./.github` --- .github/CODEOWNERS | 37 +++++++++++++++ .github/ISSUE_TEMPLATE/adr.md | 16 +++++++ .github/ISSUE_TEMPLATE/bug_report.md | 29 ++++++++++++ .github/ISSUE_TEMPLATE/deployment_plan.md | 20 +++++++++ .../ISSUE_TEMPLATE/documentation_change.md | 11 +++++ .github/ISSUE_TEMPLATE/escalation.md | 14 ++++++ .github/ISSUE_TEMPLATE/feature_request.md | 21 +++++++++ .github/ISSUE_TEMPLATE/incident_report.md | 19 ++++++++ .github/ISSUE_TEMPLATE/migration_plan.md | 20 +++++++++ .github/ISSUE_TEMPLATE/risk_register_entry.md | 13 ++++++ .github/ISSUE_TEMPLATE/runbook.md | 18 ++++++++ .github/ISSUE_TEMPLATE/security_review.md | 15 +++++++ .github/pull_request_template.md | 20 +++++++++ .github/workflows/ci.yml | 45 +++++++++++++++++++ 14 files changed, 298 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/adr.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/deployment_plan.md create mode 100644 .github/ISSUE_TEMPLATE/documentation_change.md create mode 100644 .github/ISSUE_TEMPLATE/escalation.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/incident_report.md create mode 100644 .github/ISSUE_TEMPLATE/migration_plan.md create mode 100644 .github/ISSUE_TEMPLATE/risk_register_entry.md create mode 100644 .github/ISSUE_TEMPLATE/runbook.md create mode 100644 .github/ISSUE_TEMPLATE/security_review.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/ci.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c000c42 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,37 @@ +# CODEOWNERS + +## Repository Ownership Matrix + +``` +# GLOBAL DEFAULT +* @mokoconsulting-tech/maintainers + +# DOCUMENTATION SUITE +/docs/ @mokoconsulting-tech/documentation +/docs/templates/ @mokoconsulting-tech/documentation +/docs/adr/ @mokoconsulting-tech/architecture +/docs/diagrams/ @mokoconsulting-tech/architecture +/docs/security/ @mokoconsulting-tech/security + +# ENGINEERING + CODE ASSETS +/htdocs/ @mokoconsulting-tech/engineering +/src/ @mokoconsulting-tech/engineering +/api/ @mokoconsulting-tech/engineering + +# CI/CD WORKFLOWS +/.github/workflows/ @mokoconsulting-tech/devops + +# ISSUE TEMPLATES +/.github/ISSUE_TEMPLATE/ @mokoconsulting-tech/documentation + +# GOVERNANCE + OPERATIONAL FILES +/CONTRIBUTING.md @mokoconsulting-tech/governance +/GOVERNANCE.md @mokoconsulting-tech/governance +/CODE_OF_CONDUCT.md @mokoconsulting-tech/governance + +# SECURITY +/SECURITY.md @mokoconsulting-tech/security + +# TEMPLATE LIBRARY +/docs/templates/ @mokoconsulting-tech/documentation +``` diff --git a/.github/ISSUE_TEMPLATE/adr.md b/.github/ISSUE_TEMPLATE/adr.md new file mode 100644 index 0000000..5bf7ed9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/adr.md @@ -0,0 +1,16 @@ +# Architecture Decision Record Proposal + +## Title + +## Status +Proposed + +## Context + +## Decision + +## Consequences + +## Alternatives Considered + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..971cfdd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,29 @@ +# Bug Report + +## Summary +Provide a concise description of the defect and impact. + +## Environment +- Application version +- Browser or OS +- Device +- Configuration details + +## Steps to Reproduce +1. +2. +3. + +## Expected Behavior + +## Actual Behavior + +## Logs / Screenshots + +## Severity & Impact + +## Related Incidents or Tickets + +## Acceptance Criteria + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/deployment_plan.md b/.github/ISSUE_TEMPLATE/deployment_plan.md new file mode 100644 index 0000000..dc3d9a5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/deployment_plan.md @@ -0,0 +1,20 @@ +# Deployment Plan + +## Purpose + +## Scope + +## Preconditions + +## Deployment Steps +1. +2. +3. + +## Validation + +## Rollback Plan + +## Communications + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/documentation_change.md b/.github/ISSUE_TEMPLATE/documentation_change.md new file mode 100644 index 0000000..f68168c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation_change.md @@ -0,0 +1,11 @@ +# Documentation Change + +## Summary + +## Context + +## Proposed Updates + +## Acceptance Criteria + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/escalation.md b/.github/ISSUE_TEMPLATE/escalation.md new file mode 100644 index 0000000..11acd54 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/escalation.md @@ -0,0 +1,14 @@ +# Escalation + +## Trigger Conditions + +## Severity Level +SEV1 | SEV2 | SEV3 + +## Escalation Path + +## Communication Plan + +## Closure Criteria + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bbf530c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +# Feature Request + +## Summary + +## Background / Problem Statement + +## Proposed Solution + +## Alternatives Considered + +## Technical Details + +## User Impact + +## Dependencies + +## Risks + +## Acceptance Criteria + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/incident_report.md b/.github/ISSUE_TEMPLATE/incident_report.md new file mode 100644 index 0000000..5cacee1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/incident_report.md @@ -0,0 +1,19 @@ +# Incident Report + +## Incident Summary + +## Timeline + +## Impact Assessment + +## Root Cause + +## Corrective Actions + +## Preventive Actions + +## Follow Up + +## Communications + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/migration_plan.md b/.github/ISSUE_TEMPLATE/migration_plan.md new file mode 100644 index 0000000..16be173 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/migration_plan.md @@ -0,0 +1,20 @@ +# Migration Plan + +## Purpose + +## Scope + +## Preconditions + +## Migration Steps +1. +2. +3. + +## Rollback Plan + +## Validation + +## Stakeholder Communications + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/risk_register_entry.md b/.github/ISSUE_TEMPLATE/risk_register_entry.md new file mode 100644 index 0000000..9333d16 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/risk_register_entry.md @@ -0,0 +1,13 @@ +# Risk Register Entry + +## Risk Description + +## Probability and Impact + +## Mitigation Plan + +## Contingency Plan + +## Owners and Review Cadence + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/runbook.md b/.github/ISSUE_TEMPLATE/runbook.md new file mode 100644 index 0000000..7d5a8b7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/runbook.md @@ -0,0 +1,18 @@ +# Runbook + +## Purpose + +## Preconditions + +## Procedure +1. +2. +3. + +## Validation + +## Rollback + +## References + +## Review and Approval diff --git a/.github/ISSUE_TEMPLATE/security_review.md b/.github/ISSUE_TEMPLATE/security_review.md new file mode 100644 index 0000000..2797eb4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/security_review.md @@ -0,0 +1,15 @@ +# Security Review + +## Purpose + +## Scope + +## Threat Model Summary + +## Findings + +## Remediation Actions + +## Approval + +## Review and Approval diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..d1b972f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +# Pull Request + +## Purpose + +## Change Summary + +## Testing Evidence + +## Risk and Rollback + +## Checklist +- [ ] Follows Conventional Commits +- [ ] Tests added or updated +- [ ] Documentation updated if required +- [ ] License header present where applicable +- [ ] Linked issue(s) referenced + +## Reviewer Notes + +## Review and Approval diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..282dcf8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,45 @@ +# Copyright (C) 2025 Moko Consulting +# +# This file is part of a Moko Consulting project. +# +# SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later +# +# This program is free software; you can redistribute it and/or modify it under the terms of the +# GNU General Public License as published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +# without even the IMPLIED WARRANTY of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License (./LICENSE.md). +# +# FILE INFORMATION +# DEFGROUP: # INGROUP: Documentation +# REPO: # FILE: ci.yml +# VERSION: # BRIEF: Baseline CI workflow +# PATH: ./.github/workflows/ci.yml +# NOTE: name: ci + +on: push: branches: ["main"] + pull_request: branches: ["main"] + +jobs: lint-and-test: runs-on: ubuntu-latest + steps: - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: node-version: "20" + + - name: Install dependencies + run: npm ci + continue-on-error: true + + - name: Lint + run: npm run lint + continue-on-error: true + + - name: Test + run: npm test + continue-on-error: true