Skip to content

Commit 424f53e

Browse files
committed
Adding DevSkim
1 parent d624c19 commit 424f53e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/devskim.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: DevSkim
7+
8+
on:
9+
push:
10+
branches: ["main"]
11+
pull_request:
12+
branches: ["main"]
13+
schedule:
14+
- cron: "0 0 * * 0"
15+
16+
permissions: {}
17+
18+
jobs:
19+
lint:
20+
name: DevSkim
21+
runs-on: ubuntu-latest
22+
permissions:
23+
actions: read
24+
contents: read
25+
security-events: write
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
29+
30+
- name: Run DevSkim scanner
31+
uses: microsoft/DevSkim-Action@a6b6966a33b497cd3ae2ebc406edf8f4cc2feec6 # v1.0.15
32+
33+
- name: Upload DevSkim scan results to GitHub Security tab
34+
uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
35+
with:
36+
sarif_file: devskim-results.sarif

0 commit comments

Comments
 (0)