Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 27 additions & 65 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@ workflows:
'.github/workflows/estate-rules.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/governance.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
'.github/workflows/groove-check.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/guix-policy.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/hypatia-scan.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
- 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124'
- 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
'.github/workflows/k9-validate.yml':
- 'actions/checkout@v7.0.1'
- 'hyperpolymath/k9-ecosystem@main'
Expand All @@ -47,7 +51,7 @@ workflows:
'.github/workflows/main-estate-audit.yml':
- 'hyperpolymath/cicd-suite@55556cf5ba71ba744695861503c13148d3915a5d'
'.github/workflows/mirror.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
'.github/workflows/ossf-best-practices.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/pages.yml':
Expand All @@ -71,12 +75,12 @@ workflows:
- 'actions/checkout@v7.0.1'
'.github/workflows/runtime-policy.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/rust-ci.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
'.github/workflows/scorecard.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
- 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e'
'.github/workflows/secret-scanner.yml':
- 'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
'.github/workflows/security-policy.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/sonarqube.yml':
Expand All @@ -93,11 +97,6 @@ workflows:
'.github/workflows/zig-ci.yml':
- 'actions/checkout@v7.0.1'
dependencies:
'Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6':
ref: '6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
owner_id: 580492
repo_id: 298565987
'actions/attest-build-provenance@v4.2.2':
ref: 'v4.2.2'
commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8'
Expand All @@ -111,7 +110,7 @@ dependencies:
owner_id: 44036562
repo_id: 760701061
'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
ref: '55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
ref: 'v6.1.0'
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
owner_id: 44036562
repo_id: 215566462
Expand All @@ -121,7 +120,7 @@ dependencies:
owner_id: 44036562
repo_id: 215566462
'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1':
ref: '3d3c42e5aac5ba805825da76410c181273ba90b1'
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
Expand All @@ -145,16 +144,16 @@ dependencies:
commit: 'sha1-3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c'
owner_id: 44036562
repo_id: 192626254
'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a':
ref: '043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f':
ref: 'v7.0.0'
commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
Expand All @@ -172,23 +171,13 @@ dependencies:
commit: 'sha1-25dd0e34f4fe68f24cc83900b1fe3fe149efef98'
owner_id: 27347476
repo_id: 371068214
'dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772':
ref: '6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772'
commit: 'sha1-6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772'
owner_id: 1940490
repo_id: 260749683
'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393':
ref: '51f63319f592f97930c73d9c46184d20bd206393'
commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393'
owner_id: 26415196
repo_id: 297874902
'editorconfig-checker/action-editorconfig-checker@v3.0.0':
ref: 'v3.0.0'
commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393'
owner_id: 26415196
repo_id: 297874902
'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124':
ref: '54075bcc5e249e4758d363f27d099f55d843f124'
ref: 'v1.24.1'
commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124'
owner_id: 47606891
repo_id: 331103973
Expand All @@ -197,21 +186,16 @@ dependencies:
commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124'
owner_id: 47606891
repo_id: 331103973
'github/codeql-action@9b3254085494b55a0f7c4c2b3d2d52cc712ce370':
ref: 'v4.39.1'
commit: 'sha1-9b3254085494b55a0f7c4c2b3d2d52cc712ce370'
owner_id: 9919
repo_id: 259445878
'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63':
ref: 'v4.38.0'
commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63'
owner_id: 9919
repo_id: 259445878
'github/codeql-action@cdf488f595d80d6e07e03d4674febd5ab45fa938':
ref: 'cdf488f595d80d6e07e03d4674febd5ab45fa938'
commit: 'sha1-cdf488f595d80d6e07e03d4674febd5ab45fa938'
owner_id: 9919
repo_id: 259445878
'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406':
ref: 'abea47f85e598557f500fa1fd2ab7464fcb39406'
commit: 'sha1-abea47f85e598557f500fa1fd2ab7464fcb39406'
owner_id: 1006268
repo_id: 212984112
'haskell-actions/setup@v2.12.0':
ref: 'v2.12.0'
commit: 'sha1-6037f33647c3f17758a2356c80fc4a53d7e0685d'
Expand Down Expand Up @@ -245,26 +229,9 @@ dependencies:
commit: 'sha1-22e7bdb322c430c1d0dac6b3bb307f4bb139d0be'
owner_id: 6759885
repo_id: 1352485172
'hyperpolymath/standards@da2c748aad55c1a1dcba00b60fe4a35017bc6540':
ref: 'da2c748aad55c1a1dcba00b60fe4a35017bc6540'
commit: 'sha1-da2c748aad55c1a1dcba00b60fe4a35017bc6540'
owner_id: 6759885
repo_id: 1116521501
uses:
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a'
- 'dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772'
- 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393'
- 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124'
- 'github/codeql-action@cdf488f595d80d6e07e03d4674febd5ab45fa938'
- 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406'
- 'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc'
- 'Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
- 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555'
'ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc':
ref: '2d1146689b8cda280b9bc96326124645441f03bc'
commit: 'sha1-2d1146689b8cda280b9bc96326124645441f03bc'
'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e':
ref: 'v2.5.0'
commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e'
owner_id: 67707773
repo_id: 421101922
'oven-sh/setup-bun@v2.2.0':
Expand All @@ -282,8 +249,3 @@ dependencies:
commit: 'sha1-ba9859eae8dd6bd29e412f25ddbbef3d032000f4'
owner_id: 545988
repo_id: 366408409
'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555':
ref: 'e83874834305fe9a4a2997156cb26c5de65a8555'
commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555'
owner_id: 135788
repo_id: 208510314
59 changes: 56 additions & 3 deletions .github/workflows/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,69 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: read # required by the reusable workflow (staleness check reads workflow runs)
contents: read

# Self-contained execution of the shared estate governance policies pinned to
# metadatastician/standards@e064539116c2dcfdf282a4749dbd58c69961c7e6
# (replacing the retired runtime-policy.yml workflow per PR #244).
jobs:
governance:
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@da2c748aad55c1a1dcba00b60fe4a35017bc6540
name: Estate Governance Policy
runs-on: ubuntu-24.04
timeout-minutes: 15
permissions:
contents: read
env:
STANDARDS_PIN: 'e064539116c2dcfdf282a4749dbd58c69961c7e6'
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Checkout pinned standards policy scripts
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: metadatastician/standards
ref: e064539116c2dcfdf282a4749dbd58c69961c7e6
path: .standards-checkout
sparse-checkout: |
scripts
0-canon
sparse-checkout-cone-mode: true
persist-credentials: false

- name: Enforce TypeScript and npm/yarn runtime policy
run: |
set -euo pipefail
if [ -f .standards-checkout/scripts/check-ts-allowlist.sh ]; then
bash .standards-checkout/scripts/check-ts-allowlist.sh
fi
rm -rf .standards-checkout

bad_ts="$(git ls-files '*.ts' '*.tsx' | grep -vE '^(archetypes/|templates/|tests/fixtures/)' || true)"
if [ -n "$bad_ts" ]; then
echo "::error::Unallowlisted TypeScript files detected:"
printf '%s\n' "$bad_ts"
exit 1
fi

bad_locks="$(git ls-files 'package-lock.json' '**/package-lock.json' 'yarn.lock' '**/yarn.lock' 'pnpm-lock.yaml' '**/pnpm-lock.yaml' || true)"
if [ -n "$bad_locks" ]; then
echo "::error::Banned npm/yarn/pnpm lockfiles detected (use Deno or Bun per LANGUAGE-POLICY):"
printf '%s\n' "$bad_locks"
exit 1
fi

if [ -f tsconfig.json ] || [ -f Makefile ] || [ -f GNUmakefile ]; then
echo "::error::Banned root config (tsconfig.json / Makefile) detected"
exit 1
fi
echo "Governance runtime and language anti-pattern checks passed."
Loading
Loading