Skip to content

Merge pull request #70 from modeseven-lfreleng-actions/refactor/thin-… #53

Merge pull request #70 from modeseven-lfreleng-actions/refactor/thin-…

Merge pull request #70 from modeseven-lfreleng-actions/refactor/thin-… #53

---
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2025 The Linux Foundation
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.
name: "OpenSSF Scorecard"
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: "50 4 * * 0"
push:
branches: ["main", "master"]
# Declare default permissions as none.
permissions: {}
jobs:
openssf-scorecard:
name: "OpenSSF Scorecard"
# yamllint disable-line rule:line-length
uses: lfit/releng-reusable-workflows/.github/workflows/reuse-openssf-scorecard.yaml@973bba87aa9cc4ab43242ba9afac37d70c72f134 # v0.9.1
permissions:
# Needed to read repository contents (checkout, etc.).
contents: read
security-events: write # Needed to upload results to code-scanning dashboard.
id-token: write # Needed to publish results and obtain a Scorecard badge via OIDC.
# Uncomment the permission below if installing in a private repository.
# actions: read