Optimize workflow triggers and update solution file#19
Merged
Conversation
- Add workflow_dispatch trigger to MkDocs deployment workflow for manual deployment - Update documentation CSS theme import to use site.theme variable - Update documentation content with improved formatting and structure - Update project file with corrected icon path reference 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add paths filter to MkDocs workflow (docs/**, mkdocs.yml, requirements.txt) - Expand paths-ignore in build workflow (README.md, mkdocs.yml, requirements.txt) - Update solution file configuration - Create clean separation between documentation and code deployment pipelines - Reduce CI/CD costs by preventing unnecessary builds for documentation-only changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR optimizes CI workflows by filtering triggers for documentation changes and updates the solution file to include MkDocs and documentation assets.
- Adds
pathsfilter to the MkDocs workflow and keepsworkflow_dispatchfor manual runs - Expands
paths-ignorein the build workflow to skip docs/config-only changes - Updates the
.slnto include MkDocs config, requirements, and new solution folders for assets and CSS
Reviewed Changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| LayeredCraft.Cdk.Constructs.sln | Added MkDocs workflow, docs files, and new solution folders; updated config maps |
| .github/workflows/mkdocs-material-gh-pages.yml | Added workflow_dispatch and paths filter for docs, config, and requirements |
| .github/workflows/build.yaml | Added README.md, mkdocs.yml, and requirements.txt to paths-ignore |
Comments suppressed due to low confidence (1)
LayeredCraft.Cdk.Constructs.sln:60
- [nitpick] The solution folder name
cssis very generic; consider renaming it to something more descriptive likedocs-cssormkdocs-cssto clarify its purpose.
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "css", "css", "{D7118124-AA5A-45AB-9075-E0F56BAB4F62}"
- Remove .DS_Store files that were accidentally committed - Add comprehensive macOS file exclusions to .gitignore: - .DS_Store and variants - macOS metadata files (._*, .Spotlight-V100, .Trashes) - Windows thumbnail files for cross-platform compatibility - Prevents future accidental commits of system files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
ncipollina
force-pushed
the
feature/optimize-workflow-triggers
branch
from
July 10, 2025 19:52
c7e9bca to
46667db
Compare
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.
Summary
Changes
MkDocs Workflow (
mkdocs-material-gh-pages.yml)pathsfilter to only trigger on:docs/**- Documentation content changesmkdocs.yml- MkDocs configuration changesrequirements.txt- Python dependencies for MkDocsworkflow_dispatchfor manual triggeringBuild Workflow (
build.yaml)paths-ignoreto exclude:docs/**- Documentation content (existing)README.md- Project documentation (new)mkdocs.yml- MkDocs configuration (new)requirements.txt- MkDocs dependencies (new)Solution File
Benefits
Test Scenarios
🤖 Generated with Claude Code