Skip to content

Merge pull request #51 from RoseSecurity/add-renovate-config #7

Merge pull request #51 from RoseSecurity/add-renovate-config

Merge pull request #51 from RoseSecurity/add-renovate-config #7

Workflow file for this run

name: Scorecard Supply-chain Security
on:
branch_protection_rule:
schedule:
- cron: '00 8 * * 4'
push:
branches: [ "main" ]
permissions: read-all
jobs:
analysis:
name: Scorecard Analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif