Fix Xanitizer workflow errors and add DevSkim analysis#1
Merged
Conversation
- Replace invalid exists() with hashFiles() in conditional build steps; GitHub Actions does not support an exists() expression function - Fix upload-sarif sarif_file to use '.' (directory) instead of a glob pattern, which upload-sarif does not expand - Add devskim.yml: Microsoft DevSkim static analysis suited for this documentation-only repository, outputs SARIF to Code Scanning https://claude.ai/code/session_01MtaSEMdzQA4Ttpa7nvtzaX
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
xanitizer.yml: Replace invalidexists()expression (not a GitHub Actions function) withhashFiles()in both conditional build steps; fixsarif_fileglob to use'.'(directory) sinceupload-sarifdoes not expand shell glob patternsdevskim.yml: Microsoft DevSkim static analysis workflow tailored for this documentation-only repository — scans markdown/YAML/text for security anti-patterns and hardcoded secrets, outputs SARIF to GitHub Code ScanningRoot causes fixed in xanitizer.yml
if: exists('pom.xml')if: hashFiles('pom.xml') != ''sarif_file: '*-Findings-List.sarif'sarif_file: '.'Test plan
xanitizer.ymlworkflow run completes without expression evaluation errorsdevskim.ymlruns and uploads findings to the Security → Code Scanning tabhttps://claude.ai/code/session_01MtaSEMdzQA4Ttpa7nvtzaX
Generated by Claude Code