Skip to content

Commit

Permalink
Update ossar-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kip-hart committed Jun 25, 2024
1 parent 0b22ce3 commit 1306f48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
# Checkout your code repository to scan
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@main
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -29,17 +29,17 @@ jobs:

# Install dotnet, used by OSSAR
- name: Install .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@main
with:
dotnet-version: '6.0.x'

# Run open source static analysis tools
- name: Run OSSAR
uses: github/ossar-action@v1
uses: github/ossar-action@main
id: ossar

# Upload results to the Security tab
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}

0 comments on commit 1306f48

Please sign in to comment.