Skip to content

[INFRA] Establish unified project-wide standards (issue #14)#6

Merged
kristopherjturner merged 4 commits into
mainfrom
feature/issue-14-unified-standards
Mar 17, 2026
Merged

[INFRA] Establish unified project-wide standards (issue #14)#6
kristopherjturner merged 4 commits into
mainfrom
feature/issue-14-unified-standards

Conversation

@kristopherjturner
Copy link
Copy Markdown
Contributor

Summary

Consolidates AVD repo standards to reference the central standards at azurelocal.cloud/standards, per AzureLocal/azurelocal.github.io#14.

Changes

  • *Replace \docs/standards/* — 5 files replaced with redirect stubs linking to central standards
  • Update CONTRIBUTING.md with links to central standards
  • Add Standards Compliance checklist to PR template
  • *Add \�alidate-repo-structure.yml* CI workflow

Links

Rewrite reference/variables.md with full sectioned YAML format matching
config/variables.example.yml. Add naming rules, Key Vault resolution,
and tool-specific mapping sections. Replace standards page with redirect.

Part of AzureLocal/azurelocal.github.io#15
Add config/schema/variables.schema.json for validating variables.example.yml.
Add CI workflow that validates example config against schema on PR.

Part of AzureLocal/azurelocal.github.io#15
- Replace docs/standards/ content with links to central standards
- Update CONTRIBUTING.md with links to central standards
- Add standards compliance checklist to PR template
- Add validate-repo-structure CI workflow
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Consolidates this repo’s local standards documentation to point at the org-wide standards site (azurelocal.cloud/standards), and adds lightweight compliance gates in contribution guidance, PR templates, and CI.

Changes:

  • Replace multiple docs/standards/* pages with short “moved” stubs that link to the canonical central standards.
  • Add central-standards links to CONTRIBUTING.md and a “Standards Compliance” checklist to the PR template.
  • Introduce a CI workflow intended to validate expected repo structure on pull requests.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/standards/solutions.md Replaced detailed local standards with a stub linking to the central solution development standard.
docs/standards/scripts.md Replaced detailed local scripting standards with a stub linking to central scripting standards.
docs/standards/index.md Refocused the standards index to central standards with a quick-links table.
docs/standards/examples.md Replaced detailed local example standards with a stub linking to the fictional company policy.
docs/standards/documentation.md Replaced detailed local documentation standards with a stub linking to central documentation standards.
CONTRIBUTING.md Adds a “Standards” section with links to central standards pages.
.github/workflows/validate-repo-structure.yml Adds PR-time validation checks for required files/dirs and config/doc structure.
.github/pull_request_template.md Adds a “Standards Compliance” checklist section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +44 to +45
if [ ! -f ".github/PULL_REQUEST_TEMPLATE.md" ]; then
echo "::error::Missing .github/PULL_REQUEST_TEMPLATE.md"
Comment on lines +50 to +64
- name: Check config structure (if config dir exists)
run: |
if [ -d "config" ]; then
missing=0
if [ ! -f "config/variables.example.yml" ]; then
echo "::error::Missing config/variables.example.yml"
missing=$((missing + 1))
fi
if [ ! -f "config/schema/variables.schema.json" ]; then
echo "::error::Missing config/schema/variables.schema.json"
missing=$((missing + 1))
fi
if [ $missing -gt 0 ]; then
exit 1
fi
Comment on lines +1 to +10
name: Validate Repo Structure
on:
pull_request:
branches: [main]

jobs:
check-structure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@kristopherjturner kristopherjturner merged commit 93957f1 into main Mar 17, 2026
1 of 2 checks passed
@kristopherjturner kristopherjturner deleted the feature/issue-14-unified-standards branch March 17, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/high Next sprint solution/avd Azure Virtual Desktop type/infra CI/CD, workflows, repo config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants