mirror of
https://github.com/only-cli/oc.git
synced 2026-09-15 10:40:56 +02:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# Weekly OpenSSF Scorecard run: an automated supply-chain risk score,
|
|
# published for the README badge and as SARIF in the Security tab.
|
|
name: Scorecard analysis
|
|
|
|
on:
|
|
branch_protection_rule:
|
|
schedule:
|
|
- cron: "27 3 * * 3"
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
analysis:
|
|
name: Scorecard analysis
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write
|
|
id-token: write
|
|
contents: read
|
|
actions: read
|
|
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: ossf/scorecard-action@55891bbd73f2425e97637d96e306fc9d491d0b21 # v2.4.4
|
|
with:
|
|
results_file: results.sarif
|
|
results_format: sarif
|
|
publish_results: true
|
|
|
|
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: SARIF file
|
|
path: results.sarif
|
|
retention-days: 5
|
|
|
|
- uses: github/codeql-action/upload-sarif@42947a340483f03ba47bb1a039b2c519aab3df85 # v3.37.8
|
|
with:
|
|
sarif_file: results.sarif
|