Add snippet validation to integrity checks workflow #946
+76
−44
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.
Documentation snippets are sourced from C# tests. This adds automated validation that
Update-Snippets.ps1has been run when snippet tests or docs change.Changes
codegen-validation.yml→integrity-checks.ymlto reflect expanded scope.github/actions/check-uncommitted-changes/action.ymlgit diff) and untracked filesvalidate-codegenandvalidate-api-exportnow use composite action (eliminates 30+ lines of duplication)validate-snippetsjob:Update-Snippets.ps1tests/Snippets/**,README.md, or the update scriptWorkflow trigger paths updated
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.