Skip to content

Scorecards supply-chain security #79

Scorecards supply-chain security

Scorecards supply-chain security #79

Workflow file for this run

name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '33 18 * * 5'
push:
branches: [master]
permissions: {}
jobs:
analysis:
if: github.repository == 'mihaimaruseac/io-manager' # Don't do this in forks
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398 # v2.3.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@fdcae64e1484d349b3366718cdfef3d404390e85 # v2.22.1
with:
sarif_file: results.sarif