Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/on-push-verification.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# pull request action verification

name: MSDO on-push-verification windows-latest
on: push
name: microsoft/security-devops-action sample
on:
push:
branches:
- '*'

jobs:
sample:
name: Microsoft Security DevOps Analysis
name: MSDO on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

runs-on: windows-latest
strategy:
matrix:
os: [windows-latest, ubuntu-latest]

steps:

Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/sample-workflow-windows-latest.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:

jobs:
sample:
name: Microsoft Security DevOps Analysis
name: MSDO on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

runs-on: ubuntu-latest
strategy:
matrix:
os: [windows-latest, ubuntu-latest]

steps:

Expand All @@ -17,7 +20,7 @@ jobs:

# Run analyzers
- name: Run Microsoft Security DevOps Analysis
uses: microsoft/security-devops-action@preview
uses: microsoft/security-devops-action@v1
id: msdo

# Upload alerts to the Security tab
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ Run **Microsoft Security DevOps (MSDO)** with the default policy and recommended

```yaml
steps:

- uses: actions/checkout@v3

- name: Run Microsoft Security DevOps
uses: microsoft/security-devops-action@preview
uses: microsoft/security-devops-action@v1
id: msdo
- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}
```

## Upload Results to the Security tab
Expand Down