Skip to content

Commit 0e299a7

Browse files
authored
scan (#289)
1 parent 1a7a7df commit 0e299a7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/devskim.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: DevSkim
2+
3+
on:
4+
push:
5+
paths-ignore: [ '**.md' ]
6+
branches: [ main ]
7+
pull_request:
8+
paths-ignore: [ '**.md' ]
9+
branches: [ main ]
10+
11+
jobs:
12+
scan:
13+
name: DevSkim
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v2
22+
- name: Run DevSkim scanner
23+
uses: microsoft/DevSkim-Action@v1
24+
- name: Upload DevSkim scan results to GitHub Security tab
25+
uses: github/codeql-action/upload-sarif@v2
26+
with:
27+
sarif_file: devskim-results.sarif

0 commit comments

Comments
 (0)