Skip to content

Commit 03821bc

Browse files
committed
ci: adopt standards reusable workflows for Scorecard, Hypatia, and Governance
1 parent 3f89b4c commit 03821bc

2 files changed

Lines changed: 13 additions & 34 deletions

File tree

.github/workflows/governance.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,16 @@
1-
# SPDX-License-Identifier: MPL-2.0
2-
# governance.yml — single wrapper calling the shared estate governance bundle
3-
# in hyperpolymath/standards instead of carrying per-repo copies.
4-
#
5-
# Replaces the per-repo governance scaffolding removed in the same commit:
6-
# quality.yml, guix-nix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml,
7-
# security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml,
8-
# workflow-linter.yml
9-
#
10-
# Load-bearing build/security workflows stay standalone in the repo
11-
# (rust-ci, codeql, dependabot, release, scan/mirror/pages plumbing).
12-
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
132
name: Governance
3+
144
on:
155
push:
166
branches: [main, master]
177
pull_request:
8+
branches: [main, master]
189
workflow_dispatch:
19-
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
20-
# updates do not pile up queued runs against the shared account-wide
21-
# Actions concurrency pool. Applied only to read-only check workflows
22-
# (no publish/mutation), so cancelling a superseded run is always safe.
23-
concurrency:
24-
group: ${{ github.workflow }}-${{ github.ref }}
25-
cancel-in-progress: true
10+
2611
permissions:
2712
contents: read
13+
2814
jobs:
2915
governance:
30-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@861b5e911d9e5dcfb3c0ab3dd2a9a3c8fd0a1613
16+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@b89b2ef1e98928fce53a85e83c37f23a1d99f6d3

.github/workflows/hypatia-scan.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# SPDX-License-Identifier: MPL-2.0
2-
# Thin wrapper around hyperpolymath/standards hypatia-scan-reusable.yml.
3-
# See standards#191 for the reusable's purpose and design.
4-
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
52
name: Hypatia Security Scan
3+
64
on:
75
push:
86
branches: [main, master, develop]
@@ -11,16 +9,11 @@ on:
119
schedule:
1210
- cron: '0 0 * * 0'
1311
workflow_dispatch:
14-
# Estate guardrail: cancel superseded runs so re-pushes don't pile up.
15-
concurrency:
16-
group: ${{ github.workflow }}-${{ github.ref }}
17-
cancel-in-progress: true
12+
1813
permissions:
1914
contents: read
20-
security-events: write
21-
pull-requests: write
15+
security-events: read
16+
2217
jobs:
23-
hypatia:
24-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@6cd3772824e59c8c9affeab66061e25383544242
25-
timeout-minutes: 10
26-
secrets: inherit
18+
scan:
19+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@b89b2ef1e98928fce53a85e83c37f23a1d99f6d3

0 commit comments

Comments
 (0)