Merge pull request #172 from lfreleng-actions/pre-commit-ci-update-co… #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # SPDX-FileCopyrightText: 2025 The Linux Foundation | |
| name: "OpenSSF Scorecard" | |
| # yamllint disable-line rule:truthy | |
| on: | |
| workflow_dispatch: | |
| branch_protection_rule: | |
| schedule: | |
| - cron: "50 4 * * 0" | |
| push: | |
| branches: ["main", "master"] | |
| paths: | |
| - "**" | |
| - "!.github/**" | |
| # 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@b4c8bfdea114d034bfa6ed2fe2c9775bc091d5ca # v0.2.28 | |
| 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 |