Merge pull request 'chore: add wiki/ to gitignore templates and health checker' (#13) from dev into main
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 3s
Generic: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Generic: Repo Health / Release configuration (push) Failing after 3s
Generic: Repo Health / Scripts governance (push) Successful in 3s
Generic: Repo Health / Repository health (push) Failing after 3s
Generic: Repo Health / Scripts governance (pull_request) Successful in 3s
Generic: Repo Health / Repository health (pull_request) Failing after 3s
Generic: Repo Health / Release configuration (pull_request) Failing after 33s
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 3s
Generic: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Generic: Repo Health / Release configuration (push) Failing after 3s
Generic: Repo Health / Scripts governance (push) Successful in 3s
Generic: Repo Health / Repository health (push) Failing after 3s
Generic: Repo Health / Scripts governance (pull_request) Successful in 3s
Generic: Repo Health / Repository health (pull_request) Failing after 3s
Generic: Repo Health / Release configuration (pull_request) Failing after 33s
This commit was merged in pull request #13.
This commit is contained in:
@@ -265,6 +265,11 @@ venv/
|
||||
*.coverage
|
||||
hypothesis/
|
||||
|
||||
# ============================================================
|
||||
# Local wiki clone (not version controlled)
|
||||
# ============================================================
|
||||
wiki/
|
||||
|
||||
# ============================================================
|
||||
# Dolibarr (base + runtime)
|
||||
# ============================================================
|
||||
|
||||
@@ -201,6 +201,10 @@ venv/
|
||||
*.coverage
|
||||
hypothesis/
|
||||
|
||||
# ============================================================
|
||||
# Local wiki clone (not version controlled)
|
||||
# ============================================================
|
||||
wiki/
|
||||
|
||||
# ============================================================
|
||||
# Joomla runtime / development
|
||||
|
||||
@@ -201,3 +201,8 @@ venv/
|
||||
*.coverage
|
||||
hypothesis/
|
||||
|
||||
# ============================================================
|
||||
# Local wiki clone (not version controlled)
|
||||
# ============================================================
|
||||
wiki/
|
||||
|
||||
|
||||
@@ -201,6 +201,10 @@ venv/
|
||||
*.coverage
|
||||
hypothesis/
|
||||
|
||||
# ============================================================
|
||||
# Local wiki clone (not version controlled)
|
||||
# ============================================================
|
||||
wiki/
|
||||
|
||||
# ============================================================
|
||||
# Dolibarr runtime / data
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* Manifest & Config (20) — .moko-platform, workflows, README quality, CODE_OF_CONDUCT, .gitignore content, CLAUDE.md quality
|
||||
* Documentation (15) — wiki-first: docs/ must NOT exist, CHANGELOG [Unreleased]
|
||||
* License Headers (15) — Copyright, SPDX, FILE INFORMATION in source files
|
||||
* Disallowed (10) — TODO.md, vendor/, node_modules/, .claude/, .mcp.json, renovate.json, profile.ps1
|
||||
* Disallowed (10) — TODO.md, vendor/, node_modules/, .claude/, wiki/, .mcp.json, renovate.json, profile.ps1
|
||||
* Workflows (15) — repo-health, sync-roadmap-wiki, CI/deploy
|
||||
* Security (20) — SECURITY.md, scanning, no renovate.json, no secrets
|
||||
* Rulesets (15) — main protected, dev branch, rulesets
|
||||
@@ -121,6 +121,9 @@ class RepoHealthChecker extends CliFramework
|
||||
if (is_dir("{$p}/.claude")) {
|
||||
$this->addCheck($cat, '.claude/ should not be committed', false, 0);
|
||||
}
|
||||
if (is_dir("{$p}/wiki")) {
|
||||
$this->addCheck($cat, 'wiki/ should not be committed', false, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// ── Manifest & Config (15 pts) ───────────────────────────────────
|
||||
@@ -144,9 +147,10 @@ class RepoHealthChecker extends CliFramework
|
||||
if (file_exists("{$p}/.gitignore")) {
|
||||
$gi = file_get_contents("{$p}/.gitignore");
|
||||
$gitignoreOk = str_contains($gi, '.claude/') && str_contains($gi, 'TODO.md')
|
||||
&& str_contains($gi, '*.min.css') && str_contains($gi, '*.min.js');
|
||||
&& str_contains($gi, '*.min.css') && str_contains($gi, '*.min.js')
|
||||
&& str_contains($gi, 'wiki/');
|
||||
}
|
||||
$this->addCheck($cat, '.gitignore has .claude/, TODO.md, *.min.css/js',
|
||||
$this->addCheck($cat, '.gitignore has .claude/, TODO.md, *.min.css/js, wiki/',
|
||||
$gitignoreOk, 3);
|
||||
|
||||
// CLAUDE.md should have project overview
|
||||
|
||||
Reference in New Issue
Block a user