Skip to content

Merge pull request #2795 from martincostello/Bump-Microsoft.OpenApi #42

Merge pull request #2795 from martincostello/Bump-Microsoft.OpenApi

Merge pull request #2795 from martincostello/Bump-Microsoft.OpenApi #42

name: ossf-scorecard
on:
push:
branches: [ master ]
schedule:
- cron: '0 8 * * MON'
workflow_dispatch:
permissions: read-all
jobs:
analysis:
name: analysis
runs-on: ubuntu-latest
permissions:
id-token: write
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
publish_results: true
results_file: results.sarif
results_format: sarif
- name: Upload artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: SARIF
path: results.sarif
retention-days: 5
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@8f596b4ae3cb3c588a5c46780b86dd53fef16c52 # v3.25.2
with:
sarif_file: results.sarif