Skip to content

ci: point secret-scanner at metadatastician/standards - #97

Open
hyperpolymath wants to merge 1 commit into
mainfrom
repoint-standards-uses
Open

hyperpolymath wants to merge 1 commit into
mainfrom
repoint-standards-uses

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

hyperpolymath/standards now redirects to metadatastician/standards. A uses: hyperpolymath/standards/... call fails at startup with 0 jobs, so scan / gitleaks never reports.

This changes the one uses: line in .github/workflows/secret-scanner.yml to metadatastician/standards. The pinned sha is unchanged. One signed commit.

Part of the estate secret-scanner sweep (pilot: hyperpolymath/modshells#138, merged).


Generated by Claude Code

@gitnotebooks

gitnotebooks Bot commented Dec 4, 2026

Copy link
Copy Markdown

Review these changes at https://app.gitnotebooks.com/hyperpolymath/docmatrix/pull/97

@sonarqubecloud

sonarqubecloud Bot commented Dec 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Copy Markdown
Owner Author

Validate K9 contracts also fails on main (246041d), so this PR didn't cause it. This PR only changes one uses: line in secret-scanner.yml. The required checks here are CI/gate and scan / gitleaks.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the source used by the automated secret-scanning check. Its workflow version and secret access configuration remain unchanged, and no change to scanning behaviour is expected. This maintenance update does not alter any user-facing features or functionality.

The scan job now calls the reusable secret-scanner workflow from metadatastician/standards. The workflow path, pinned commit, and inherited secrets configuration remain unchanged.

Changes: Secret scanner workflow

Layer / File(s) Summary
Update reusable workflow reference
.github/workflows/secret-scanner.yml
The scan job’s reusable-workflow reference changes from hyperpolymath/standards to metadatastician/standards. The workflow path and pinned commit remain unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to 26804

This change repoints the secret-scanner workflow to the repository that now hosts it, so the scan can run again. The change is small and low risk. Unrelated validation checks fail on lockfile pins, but that is not caused by this PR.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the secret-scanner workflow now points at metadatastician/standards. It is short, specific and matches the single changed uses: line. It uses the conventional ci: pref…
Description check Passed The description explains the reason for the change: hyperpolymath/standards redirects and the uses: call fails at startup with 0 jobs. It names the single changed line in .github/workflows/secret-scan…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the secret-scanner workflow now points at metadatastician/standards. It is short, specific and matches the single changed uses: line. It uses the conventional ci: prefix and is clear for a teammate scanning history.

Full details: Description check

Explanation

The description explains the reason for the change: hyperpolymath/standards redirects and the uses: call fails at startup with 0 jobs. It names the single changed line in .github/workflows/secret-scanner.yml, states the pinned sha is unchanged, and links the related pilot PR. It matches the changeset.

Finishing Touches

Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 431a8a88-9f6f-4574-a10c-480c0bf26e47
Commits

Reviewing files that changed from the base of the PR and between 246041d and 2680425.

Files selected for processing: 1

  • .github/workflows/secret-scanner.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 2

  • GitHub Check: CodeRabbit
  • GitHub Check: analyze (rust, none)
CI failures not shown inline: 2

GitHub Actions: Dogfood Gate / 2_Validate K9 contracts.txt: ci: point secret-scanner at metadatastician/standards

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Actions: read
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]lockfile verification did not produce a result for this action. Unable to resolve action `hyperpolymath/k9-ecosystem/validate-action@89f3c2702f4f650a92aa7411502f38da06abd562`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile

GitHub Actions: Dogfood Gate / 3_Validate DEED manifests.txt: ci: point secret-scanner at metadatastician/standards

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Actions: read
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]lockfile verification did not produce a result for this action. Unable to resolve action `hyperpolymath/deed-ecosystem/validate-action@aa4b836bd969df2bc58128cb8e3d20bbc88d5e79`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile
Additional context used

zizmor (1.32.0)

.github/workflows/secret-scanner.yml

[warning] 22-22: secrets unconditionally inherited by called workflow (secrets-inherit): this reusable workflow

(secrets-inherit)

Additional comments: 1

.github/workflows/secret-scanner.yml: 1

22-22: LGTM!

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 90 issues detected

Severity Count
🔴 Critical 0
🟠 High 44
🟡 Medium 46
View findings
[
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/docmatrix/docmatrix",
    "level": "epi",
    "rule_module": "honest_completion",
    "action": "flag",
    "severity": "high",
    "deduction": 20,
    "evidence": [
      {
        "span": {
          "file": "/home/runner/work/docmatrix/docmatrix",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "honest_completion/no_tests",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Invalid .github/workflows/actions.lock: {:self_sha_leaf_ref, [\"google/clusterfuzzlite@884713a6c30a92e5e8544c39945cd7cb630abcd1\", \"hyperpolymath/deed-ecosystem@aa4b836bd969df2bc58128cb8e3d20bbc88d5e79\", \"hyperpolymath/k9-ecosystem@89f3c2702f4f650a92aa7411502f38da06abd562\", \"webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555\"]}. Regenerate and verify it with gh actions-lock.",
    "type": "invalid_actions_lock",
    "file": ".github/workflows/actions.lock",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "regenerate",
    "severity": "high",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/actions.lock",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/invalid_actions_lock",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `triage` in label-triage.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/label-triage.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "triage",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/label-triage.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `sync` in labels.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/labels.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "sync",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/labels.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Step uses `peter-evans/repository-dispatch` with `token: ${{ secrets.FARM_DISPATCH_TOKEN }}` but has no `if: secrets.FARM_DISPATCH_TOKEN != ''` gate. On repos where the secret hasn't been propagated the action fails on every push, red-maining the repo. Add the step-level gate (or env+if pattern) so the missing-secret path is a clean skip instead of a red.",
    "type": "secret_action_without_presence_gate",
    "file": ".github/workflows/instant-sync.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "peter-evans/repository-dispatch",
    "severity": "high",
    "fix_recipe": "add_secret_presence_gate",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/instant-sync.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/secret_action_without_presence_gate",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 14,
    "reason": "mirror.yml job `mirror-gitlab` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-gitlab",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 14,
          "end_line": 14
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 33,
    "reason": "mirror.yml job `mirror-bitbucket` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-bitbucket",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 33,
          "end_line": 33
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 52,
    "reason": "mirror.yml job `mirror-codeberg` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-codeberg",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 52,
          "end_line": 52
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 71,
    "reason": "mirror.yml job `mirror-sourcehut` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-sourcehut",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 71,
          "end_line": 71
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 90,
    "reason": "mirror.yml job `mirror-disroot` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-disroot",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 90,
          "end_line": 90
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@linear-code
linear-code Bot marked this pull request as ready for review December 4, 2026 02:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-04T02:11:11.794620Z
We couldn’t complete this review. Comment @codex review to try again.
2680425 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants