Skip to content

fix(ci): call the secret scanner from proven-cicd-and-workflows - #176

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/secret-scanner-caller
Nov 10, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/secret-scanner-caller

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Why

secret-scanner.yml called metadatastician/standards/.github/workflows/secret-scanner-reusable.yml. This repository's Actions settings do not allow reusable workflows from that owner, so every run failed at startup with 0 jobs. scan / gitleaks was never reported, and each push sent a "Run failed" email.

What

The caller now uses the published cicd-suite scanner owned by hyperpolymath, at the pin that gitbot-fleet and contractiles (hyperpolymath/contractiles#75) use:

  • hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6
  • fast-pr: false, contents: read only, and no secrets: inherit.

actions.lock is unchanged. gh actions-lock would also prune the reusable-workflow entries of other workflows here, so it was not run.

Testing

In contractiles the same caller reported scan / gitleaks, scan / rust-secrets and scan / shell-secrets as success on its PR and on main. This PR's own run is the test here.


Generated by Claude Code

The caller used metadatastician/standards, which this repository's Actions
settings do not allow, so every run failed at startup with zero jobs and the
scan / gitleaks context was never reported. Call the published cicd-suite
scanner at the pin gitbot-fleet and contractiles use (1fd5e63), with
fast-pr false, contents: read only, and no `secrets: inherit`.

actions.lock is left as it is: regenerating it here would also prune the
reusable-workflow entries of other workflows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZnmBahbhfkFEP6ark4
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the automated secret-scanning workflow to use a different scanner integration.
    • The workflow now has read-only access to repository contents, replacing its previous permissions to read actions and write security events.
    • The workflow’s scanner settings and permission boundaries have also been updated.

The secret-scanner workflow now calls a pinned reusable workflow from hyperpolymath/proven-cicd-and-workflows. It grants contents: read at workflow and job level and sets fast-pr: false.

Changes: Secret scanner workflow

Layer / File(s) Summary
Configure the reusable scanner
.github/workflows/secret-scanner.yml
The workflow documents the scanner context and permission boundaries. It grants only contents: read and calls the pinned reusable workflow with fast-pr: false.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Low · up to df36f

The stale scanner lock entry can block governance verification once that workflow can start. Update it when restoring governance.

- [ ] 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

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 10, 2026 21:44
@hyperpolymath
hyperpolymath merged commit 56329f8 into main Nov 10, 2026
22 of 24 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 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 ✅ Completed 2026-11-10T21:48:15.521610Z df36f39 Draft marked ready
🔒 Security Review ❌ Failed 2026-11-10T21:44:54.639580Z
We couldn’t complete this review. Comment @codex security review to try again.
df36f39 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@hyperpolymath
hyperpolymath deleted the claude/secret-scanner-caller branch November 10, 2026 21:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df36f39f6e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

security-events: write
contents: read
uses: metadatastician/standards/.github/workflows/secret-scanner-reusable.yml@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12
uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/secret-scanner-reusable.yml@1fd5e6371a50f0fc3687206a5adca0cdf7b39aa6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge De-onboard the replacement caller from actions.lock

For this repository's sha_pinning_required setup, this workflow remains marked as managed by gh actions-lock, but .github/workflows/actions.lock:46-47 still records the old metadatastician/standards dependency for this path rather than the new caller. That workflow/lock mismatch is rejected as an invalid lockfile during Actions startup, so PR and push runs can still produce zero jobs instead of the required scan / gitleaks check. Remove this workflow's managed marker and stale lock entry, as already done for the other deliberately de-onboarded cross-repository caller.

Useful? React with 👍 / 👎.

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.

3 participants