repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Add DevSkim workflow for code scanning

531646c8a5e10a3afbed8962b4f37f79a14f8ccf

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

This workflow runs the DevSkim scanner on pushes and pull requests to the main branch, and schedules a weekly scan.

Signed-off-by: Oliver Jan Krylow <oliver@bugabinga.net>

Changed files (1)

+34 / −0 text lines

Diff layout

.github/workflows/devskim.yml

Added
new file mode 100644

+34 / −0 text lines

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
6name: DevSkim
7
8on:
9 push:
10 branches: [ "main" ]
11 pull_request:
12 branches: [ "main" ]
13 schedule:
14 - cron: '29 9 * * 5'
16jobs:
17 lint:
18 name: DevSkim
19 runs-on: ubuntu-latest
20 permissions:
21 actions: read
22 contents: read
23 security-events: write
24 steps:
25 - name: Checkout code
26 uses: actions/checkout@v4
28 - name: Run DevSkim scanner
29 uses: microsoft/DevSkim-Action@v1
31 - name: Upload DevSkim scan results to GitHub Security tab
32 uses: github/codeql-action/upload-sarif@v3
33 with:
34 sarif_file: devskim-results.sarif