Skip to content

Static Analysis - DevSkim #43

Static Analysis - DevSkim

Static Analysis - DevSkim #43

Workflow file for this run

name: Static Analysis - DevSkim
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '30 17 * * 5'
workflow_dispatch:
permissions: read-all
jobs:
lint:
name: DevSkim
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
security-events: write
if: (github.action != 'dependabot[bot]')
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