Skip to content

Security

Security #17

Workflow file for this run

---
name: Security
on:
workflow_dispatch:
branch_protection_rule:
schedule:
- cron: "33 8 * * 6"
push:
branches: [main]
permissions: read-all
jobs:
analysis:
name: OSSF Scorecards
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
actions: read
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Analysis
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: scorecards.sarif
results_format: sarif
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
publish_results: true
- uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: scorecards.sarif