-
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (20 loc) · 669 Bytes
/
Copy pathscorecard.yml
File metadata and controls
23 lines (20 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: MPL-2.0
name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '23 4 * * 1'
push:
branches: [main]
# The reusable's scorecard job declares security-events:write + id-token:write;
# a called workflow's job permissions must be a SUBSET of the caller's grant
# (callee ⊆ caller) — `read-all` grants no writes, so the run startup-failed at
# plan time with zero jobs.
permissions:
contents: read
security-events: write
id-token: write
jobs:
analysis:
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9
secrets: inherit