Skip to content

ci: bump the github-actions group with 7 updates (#146) #68

ci: bump the github-actions group with 7 updates (#146)

ci: bump the github-actions group with 7 updates (#146) #68

Workflow file for this run

# This CI job is adapted from:
# Scorecards' GitHub action (2013-09-12), Apache License 2.0
# Ref: https://github.com/ossf/scorecard-action/blob/8d9d91b01b9389de406141fb47b98726a399e1ea/README.md?plain=1#L198
name: Scorecard analysis
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
# run once a month at midnight of the first day of the month
- cron: 0 0 1 * *
push:
branches: [main]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-24.04
permissions:
# Needed if using Code scanning alerts
security-events: write
# Needed for GitHub OIDC token if publish_results is true
id-token: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
# Ref: https://github.com/ossf/scorecard-action
- name: Run scorecard analysis
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with:
results_file: results.sarif
results_format: sarif
# Ref: https://github.com/ossf/scorecard-action#publishing-results.
publish_results: true
# required for Code scanning alerts
- name: Upload SARIF results to code scanning
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
sarif_file: results.sarif