use windows ama only msi and non geneva mode for insights metrics (#1… #1472
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Devskim" | |
on: | |
push: | |
branches: [ "ci_prod" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "ci_prod" ] | |
schedule: | |
- cron: '39 0 * * 0' | |
jobs: | |
lint: | |
name: DevSkim | |
runs-on: ubuntu-20.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- 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 |