Skip to content

Commit

Permalink
Test options.json handling in action
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Mar 15, 2024
1 parent 67e2e7a commit f16c5ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: microsoft/DevSkim-Action@v1
with:
ignore-globs: '**/one/*.cs'
options-json: 'options.json'
- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
Expand Down
8 changes: 8 additions & 0 deletions options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Globs": [
"*.contoso"
],
"LanguageRuleIgnoreMap": {
"csharp" : [ "DS123456789"]
}
}

0 comments on commit f16c5ed

Please sign in to comment.