From e48fbafb04a8b6d83d3e0e524d22d090109e9153 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 01:22:36 +0000 Subject: [PATCH 1/3] ci: point reusable workflows at metadatastician/standards hyperpolymath/standards moved to metadatastician/standards. Every Secret Scanner run here ended as a startup failure with no jobs, the same failure valence-shell had until hyperpolymath/valence-shell#227 repointed its callers. Only the owner in each `uses:` changes; every commit pin stays the same (each pinned commit and reusable file exists in the moved repository, checked with git cat-file). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDjNR1ZoYKEPxSKE2nq --- .github/workflows/changelog.yml | 2 +- .github/workflows/governance.yml | 2 +- .github/workflows/hypatia-scan.yml | 2 +- .github/workflows/mirror.yml | 2 +- .github/workflows/scorecard.yml | 2 +- .github/workflows/secret-scanner.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 4556010..a286e90 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -36,7 +36,7 @@ jobs: # runtime (not from the pinned SHA), so cliff.toml fixes propagate to # this caller immediately without a SHA bump — only changes to the # reusable workflow YAML itself require re-pinning here. - uses: hyperpolymath/standards/.github/workflows/changelog-reusable.yml@b77c53c85e5734756a793497845735485c9dc933 + uses: metadatastician/standards/.github/workflows/changelog-reusable.yml@b77c53c85e5734756a793497845735485c9dc933 with: mode: pr-back # Loop-prevention defense-in-depth (maa-framework#219 / standards#988): diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 8719e6b..5b4f136 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -17,4 +17,4 @@ permissions: jobs: governance: - uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@6b38eb50104901e2fec80f9455a972bc3eced813 + uses: metadatastician/standards/.github/workflows/governance-reusable.yml@6b38eb50104901e2fec80f9455a972bc3eced813 diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index a5a2131..17bcc46 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -20,4 +20,4 @@ permissions: jobs: hypatia: - uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/hypatia-scan-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index b95ea10..1601848 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -15,5 +15,5 @@ permissions: jobs: mirror: - uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a secrets: inherit diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5d212f3..4863e45 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -15,7 +15,7 @@ permissions: jobs: scorecard: - uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/scorecard-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a permissions: contents: read security-events: write diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index fffde78..b6cbb97 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -21,5 +21,5 @@ jobs: scan: permissions: contents: read - uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a secrets: inherit From eb2d8b7ef427584a4756d0321b9bdfb062f42bab Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 01:40:13 +0000 Subject: [PATCH 2/3] ci: re-pin standards reusables to the commits echo-types runs The owner-only change still left every reusable caller in startup failure: the old pins predate the move, and their actions allowlist has no metadatastician/* entry (CodeRabbit's finding on the governance preflight). Re-pin to echo-types' working pins: secret-scanner and mirror at 75bd599, everything else at ba640e9 (75bd599's descendant, whose allowlist carries metadatastician/standards/.github/workflows/*@*). Checked locally against ba640e9: check-allowed-actions.sh reports 0 uncovered uses: refs; every caller passes only inputs the callee declares and grants every permission the callee's jobs request. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDjNR1ZoYKEPxSKE2nq --- .github/workflows/changelog.yml | 2 +- .github/workflows/governance.yml | 2 +- .github/workflows/hypatia-scan.yml | 2 +- .github/workflows/mirror.yml | 2 +- .github/workflows/scorecard.yml | 5 ++++- .github/workflows/secret-scanner.yml | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index a286e90..6b5a3b6 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -36,7 +36,7 @@ jobs: # runtime (not from the pinned SHA), so cliff.toml fixes propagate to # this caller immediately without a SHA bump — only changes to the # reusable workflow YAML itself require re-pinning here. - uses: metadatastician/standards/.github/workflows/changelog-reusable.yml@b77c53c85e5734756a793497845735485c9dc933 + uses: metadatastician/standards/.github/workflows/changelog-reusable.yml@ba640e9a57f22608710ffecdca282074eac55a0b with: mode: pr-back # Loop-prevention defense-in-depth (maa-framework#219 / standards#988): diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 5b4f136..b394e7a 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -17,4 +17,4 @@ permissions: jobs: governance: - uses: metadatastician/standards/.github/workflows/governance-reusable.yml@6b38eb50104901e2fec80f9455a972bc3eced813 + uses: metadatastician/standards/.github/workflows/governance-reusable.yml@ba640e9a57f22608710ffecdca282074eac55a0b diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index 17bcc46..effe958 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -20,4 +20,4 @@ permissions: jobs: hypatia: - uses: metadatastician/standards/.github/workflows/hypatia-scan-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/hypatia-scan-reusable.yml@ba640e9a57f22608710ffecdca282074eac55a0b diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 1601848..7001fc7 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -15,5 +15,5 @@ permissions: jobs: mirror: - uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 secrets: inherit diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 4863e45..fa1248d 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -15,8 +15,11 @@ permissions: jobs: scorecard: - uses: metadatastician/standards/.github/workflows/scorecard-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/scorecard-reusable.yml@ba640e9a57f22608710ffecdca282074eac55a0b permissions: + # actions: read is repeated here because this job-level block + # replaces the workflow-level one, and the callee requests it. + actions: read contents: read security-events: write id-token: write diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index b6cbb97..e788fe9 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -21,5 +21,5 @@ jobs: scan: permissions: contents: read - uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a + uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 secrets: inherit From b35e8f69e1fbc98ce75dc2464363c8c0195ace9d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 01:40:41 +0000 Subject: [PATCH 3/3] ci: pass named secrets instead of secrets: inherit SonarCloud S7635 (and Hypatia WH008): pass a reusable workflow only the secrets it declares. The secret scanner callee declares none; mirror declares seven SSH/forge keys; hypatia-scan declares HYPATIA_SCAN_PAT. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01J4QvDjNR1ZoYKEPxSKE2nq --- .github/workflows/mirror.yml | 12 +++++++++++- .github/workflows/secret-scanner.yml | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 7001fc7..40cd3e1 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -16,4 +16,14 @@ permissions: jobs: mirror: uses: metadatastician/standards/.github/workflows/mirror-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 - secrets: inherit + # Explicit secrets map, not `secrets: inherit` (Hypatia WH008, Sonar + # S7635): the callee (standards@75bd599) declares exactly these seven, + # all optional. + secrets: + GITLAB_SSH_KEY: ${{ secrets.GITLAB_SSH_KEY }} + BITBUCKET_SSH_KEY: ${{ secrets.BITBUCKET_SSH_KEY }} + CODEBERG_SSH_KEY: ${{ secrets.CODEBERG_SSH_KEY }} + SOURCEHUT_SSH_KEY: ${{ secrets.SOURCEHUT_SSH_KEY }} + DISROOT_SSH_KEY: ${{ secrets.DISROOT_SSH_KEY }} + GITEA_SSH_KEY: ${{ secrets.GITEA_SSH_KEY }} + RADICLE_KEY: ${{ secrets.RADICLE_KEY }} diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index e788fe9..7bf53a2 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -22,4 +22,5 @@ jobs: permissions: contents: read uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 - secrets: inherit + # No `secrets: inherit` (Hypatia WH008, Sonar S7635): the callee + # (standards@75bd599) declares no secrets and needs only contents: read.