Skip to content

Commit

Permalink
Merge pull request #36 from gcmurphy/gcmurphy-patch-1
Browse files Browse the repository at this point in the history
Add a workflow to perform static analysis using devskim
  • Loading branch information
gcmurphy authored Jul 23, 2024
2 parents e9e75c9 + 76d04a5 commit efb9022
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Static Analysis
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '30 17 * * 5'

jobs:
lint:
name: DevSkim
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1

- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: devskim-results.sarif

0 comments on commit efb9022

Please sign in to comment.