Skip to content

Commit

Permalink
Create mdcdevops.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CharbelNemnom authored May 31, 2023
1 parent cc4db0e commit e8a56f7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/mdcdevops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: MSDO windows-latest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
sample:

# MSDO runs on windows-latest and ubuntu-latest.
# macos-latest supporting coming soon
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
5.0.x
6.0.x
# Run analyzers
- name: Run Microsoft Security DevOps Analysis
uses: microsoft/security-devops-action@preview
id: msdo

# Upload alerts to the Security tab
- name: Upload alerts to Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

0 comments on commit e8a56f7

Please sign in to comment.