Skip to content

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.2 (#… #163

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.2 (#…

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.2 (#… #163

Workflow file for this run

name: OSSF
on:
branch_protection_rule:
schedule:
- cron: '42 21 * * 4'
push:
branches: [ "main" ]
permissions: read-all
jobs:
analysis:
name: "Analysis: Scorecard"
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: "Checkout code"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload artifact"
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
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@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
sarif_file: results.sarif