Skip to content

Commit 61df2e3

Browse files
chore(ci): replace scorecard.yml with reusable wrapper (#24)
Pins to hyperpolymath/standards#205 merge SHA `e0caf11508a3989574713c78f5f444f2ce5e33ef`. Replaces the canonical scorecard.yml with a thin wrapper. Closes the 5-candidate convergence set. Estate audit: 258 deploys / 18% drift / 39% top-SHA share. Part of estate-wide convergence campaign 2026-05-26 (standards#199 / #205).
1 parent 6e5cc04 commit 61df2e3

1 file changed

Lines changed: 8 additions & 31 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,16 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
name: OSSF Scorecard
2+
name: Scorecards supply-chain security
3+
34
on:
4-
push:
5-
branches: [main, master]
5+
branch_protection_rule:
66
schedule:
7-
- cron: '0 4 * * 0'
8-
9-
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
10-
# updates do not pile up queued runs against the shared account-wide
11-
# Actions concurrency pool. Applied only to read-only check workflows
12-
# (no publish/mutation), so cancelling a superseded run is always safe.
13-
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
15-
cancel-in-progress: true
7+
- cron: '23 4 * * 1'
8+
push:
9+
branches: [main]
1610

1711
permissions: read-all
1812

1913
jobs:
2014
analysis:
21-
runs-on: ubuntu-latest
22-
permissions:
23-
security-events: write
24-
id-token: write
25-
steps:
26-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
27-
with:
28-
persist-credentials: false
29-
30-
- name: Run Scorecard
31-
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
32-
with:
33-
results_file: results.sarif
34-
results_format: sarif
35-
36-
- name: Upload results
37-
uses: github/codeql-action/upload-sarif@b2f9ef845756500b97acbdaf5c1dd4e9c1d15734 # v3
38-
with:
39-
sarif_file: results.sarif
15+
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@e0caf11508a3989574713c78f5f444f2ce5e33ef
16+
secrets: inherit

0 commit comments

Comments
 (0)