Skip to content

fix(validation): enforce .adoc for governance and contributing - #35

Merged
hyperpolymath merged 3 commits into
mainfrom
fix-adoc-validation
Jul 31, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
fix-adoc-validation

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

This PR enforces .adoc instead of .md for TOPOLOGY, CONTRIBUTING and GOVERNANCE files to match the estate-wide requirements, preventing Type 1/2 CI/CD validation errors.

Comment thread scripts/validate-template.sh Resolved
@gitar-bot

gitar-bot Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved 1 resolved / 1 findings

Enforces .adoc file extensions for governance and contributing files to align with estate-wide validation requirements. Consider cleaning up the redundant duplicate .adoc conditions introduced from the find-replace.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

✅ 1 resolved
✅ Quality: Redundant duplicate .adoc conditions from find-replace

📄 scripts/validate-template.sh:341-342 📄 scripts/validate-template.sh:355
The blanket .md→.adoc replacement turned the two-variant OR checks into identical duplicated tests (e.g. [ -f TOPOLOGY.adoc ] || [ -f TOPOLOGY.adoc ] and [ -f GOVERNANCE.adoc ] || [ -f GOVERNANCE.adoc ]). This is harmless functionally but is dead/confusing code that signals an unintended edit. Collapse each pair to a single check: keep the root and docs/architecture/ paths for TOPOLOGY (one .adoc each) and a single GOVERNANCE.adoc test.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@hyperpolymath
hyperpolymath merged commit 02dea2d into main Jul 31, 2026
29 of 33 checks passed
@hyperpolymath
hyperpolymath deleted the fix-adoc-validation branch July 31, 2026 06:45
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant