✨ Add CI/CD workflows for linting, validation, and documentation checks#18
Draft
✨ Add CI/CD workflows for linting, validation, and documentation checks#18
Conversation
…entation checks Co-authored-by: bancey <23360105+bancey@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] ✨ DevEx Improvement #2
✨ Add CI/CD workflows for linting, validation, and documentation checks
Oct 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR integrates comprehensive GitHub Actions CI/CD workflows to improve developer experience through automated linting, validation, and documentation checks. This addresses issue #[issue_number] to enhance the repository's DevEx with automated quality gates.
What's New
🔄 GitHub Actions Workflows
Added 4 automated workflows that run on every push and pull request:
yamllintAll workflows are triggered automatically on:
mainbranchmainbranch⚙️ Configuration Files
Added configuration files tailored for Azure DevOps template repositories:
.yamllint.yml- Custom yamllint rules that accommodate Azure DevOps template syntax (allows 200-char lines, flexible indentation for conditionals, etc.).markdownlint.json- Markdown linting rules with relaxed line length limits for documentation.markdown-link-check.json- Link checker configuration with retry logic and patterns for internal GitHub links.gitignore- Excludes Python artifacts, IDE files, and temporary files📝 Documentation Updates
Enhanced the README with:
🔧 Template Fixes
Fixed existing issues discovered during validation:
steps/twingate-connect.yaml- Converted CRLF line endings to Unix LF formatsteps/terraform.yaml- Fixed indentation in conditional block fortfcmttool installationresources/tfcmt.yaml- Added missing newline at end of fileBenefits
Testing
All workflows have been tested and validated:
Screenshots
The README now includes these badges at the top:
Files Changed
Created (8 files):
.github/workflows/ci.yml.github/workflows/documentation-check.yml.github/workflows/validate-templates.yml.github/workflows/yaml-lint.yml.yamllint.yml.markdownlint.json.markdown-link-check.json.gitignoreModified (4 files):
README.md- Added badges and CI documentationresources/tfcmt.yaml- Added newlinesteps/terraform.yaml- Fixed indentationsteps/twingate-connect.yaml- Fixed line endingsFuture Enhancements
Potential follow-up improvements (not included in this PR):
Closes #[issue_number]
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.