Skip to content

chore(ci): add dormant push-email notification workflow (#53) #32

chore(ci): add dormant push-email notification workflow (#53)

chore(ci): add dormant push-email notification workflow (#53) #32

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '23 4 * * 1'
push:
branches: [main]
# Workflow-level permissions are read-only. The job that calls the reusable
# upgrades to the writes `ossf/scorecard-action` requires. Job-level
# permissions REPLACE workflow-level for that job, so `contents: read` here
# plus the writes below yields the correct effective set and avoids the
# `read-all` startup_failure seen estate-wide. Matches the canonical caller in
# hyperpolymath/standards/.github/workflows/scorecard-reusable.yml.
permissions:
contents: read
jobs:
analysis:

Check failure on line 21 in .github/workflows/scorecard.yml

View workflow run for this annotation

GitHub Actions / Scorecards supply-chain security

Invalid workflow file

The workflow is not valid. .github/workflows/scorecard.yml (Line: 21, Col: 3): Error calling workflow 'hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
permissions:
security-events: write
id-token: write
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
secrets: inherit