microsoft/DevSkim

Run DevSkim Code Analysis and output Sarif compatible with GitHub Code Scanning alerts

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: microsoft/devskim-action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
directory-to-scanThe sub directory of the repository root to scan. Repository root used by default.noGITHUB_WORKSPACE
should-scan-archivesOptionally scan the contents of archives.nofalse
output-filenameThe filename for the output.nodevskim-results.sarif
output-directoryThe sub directory for the output under GITHUB_WORKSPACE.noGITHUB_WORKSPACE
ignore-globsOptional comma separated list of file globs to ignore when scanning.no**/.git/**,**/bin/**
exclude-rulesOptional comma separated list of rule IDs to ignoreno""
options-jsonOptional path in the repository containing a json to provide to the --options-json argumentno""
extra-optionsProvide any other command line arguments for the DevSkim analyze command. See DevSkim documentation for usage instructions.no""

no outputs