Skip to content

build(deps): bump the go-minor-and-patch group across 1 directory wit… #34

build(deps): bump the go-minor-and-patch group across 1 directory wit…

build(deps): bump the go-minor-and-patch group across 1 directory wit… #34

Workflow file for this run

name: Scorecard supply-chain security
on:
# Re-evaluate when branch protection changes (affects Scorecard checks).
branch_protection_rule:
schedule:
- cron: '37 4 * * 1' # weekly, Monday 04:37 UTC
push:
branches: [main]
# Read-only by default; the analysis job opts into the writes it needs.
permissions:
contents: read
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload results to the code-scanning dashboard.
security-events: write
# Needed to publish results to the public OpenSSF API (badge).
id-token: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
with:
results_file: results.sarif
results_format: sarif
# Publish results to OpenSSF so the README badge resolves.
publish_results: true
# Keep the raw SARIF as a build artifact for debugging.
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@03e4368ac7daa2bd82b3e85262f3bf87ee112f57 # v3.36.0
with:
sarif_file: results.sarif