Skip to content

Merge pull request #796 from lfit/dependabot/github_actions/actions/s… #582

Merge pull request #796 from lfit/dependabot/github_actions/actions/s…

Merge pull request #796 from lfit/dependabot/github_actions/actions/s… #582

---
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2024 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"]
paths:
- "**"
# 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@5fa62e396473e823e2bb0f45b744e94c4f842faa # v0.7.4
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
# Uncomment the permissions below if installing in a private repository.
# contents: read
# actions: read