Skip to content

docs(code-quality): reverse the #142 secrets:inherit note — Q5 decided the other way (backend#1526) - #147

Merged
LukasWodka merged 1 commit into
developfrom
ci/1526-q5-unwind-header
Aug 5, 2026
Merged

docs(code-quality): reverse the #142 secrets:inherit note — Q5 decided the other way (backend#1526)#147
LukasWodka merged 1 commit into
developfrom
ci/1526-q5-unwind-header

Conversation

@LukasWodka

@LukasWodkaLukasWodka commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Comment-only change to the reusable's header, reversing what #142 documented. RFC-BACKEND-1405 Q5 was answered 2026-08-04 (rfcs#11, merged): secretless callees get nosecrets: line.

  • Adoption snippet: secrets: inherit line removed.
  • Note paragraph: now records the decided contract and the why — the no-op was conditional on this file staying secretless, and @main floating means a future ${{ secrets.X }} step reaches every inheriting caller's entire secret set at once (toJSON(secrets)). If a secret is ever genuinely needed: explicit per-secret passing, never inherit.
  • The Bugbot nag about the "missing" line is suppressed per-repo via .cursor/BUGBOT.md (the #1304 flywheel, PRs landing in parallel under backend#1526) — and the rule inverts the check: a caller addinginherit is what deserves a finding.

Part of tracebloc/backend#1526. The four caller-line removals (tracebloc-website, model-zoo, start-training, docs) land as sibling PRs.

🤖 Generated with Claude Code


Note

Low Risk
Comment-only change to adoption docs; no CI logic, permissions, or secret handling is modified.

Overview
Documentation-only update to the reusable code-quality.yml header, reversing the adoption guidance from PR #142.

The ADOPTION snippet no longer shows # secrets: inherit; callers should omit secrets: entirely for this secretless workflow. The explanatory note now records RFC-BACKEND-1405 Q5: inherit was only a conditional no-op, and with callers pinned at @main, a future ${{ secrets.X }} step would expose every inheriting repo’s full secret set. If secrets are ever needed, callers must pass them explicitly, never via inherit. Bugbot’s “missing secrets” nag is documented as handled per-repo in .cursor/BUGBOT.md, with the inverted rule that addingsecrets: inherit is what should be flagged.

No workflow runtime behavior changes in this PR; sibling PRs remove the line from individual callers.

Reviewed by Cursor Bugbot for commit a9f1156. Bugbot is set up for automated code reviews on this repo. Configure here.

…d the other way (backend#1526)
Callers pass NO secrets line (RFC-BACKEND-1405 Q5): the no-op was
conditional on this file staying secretless, and @main floating means
a future secrets reference reaches every inheriting caller's full
secret set at once. Explicit per-secret passing if ever needed; the
Bugbot nag dies in per-repo BUGBOT.md rules, and the INVERSE (a caller
adding inherit) is what now deserves a finding.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@LukasWodka
LukasWodka merged commit 5582bad into developAug 5, 2026
7 checks passed
@LukasWodka
LukasWodka deleted the ci/1526-q5-unwind-header branch August 14, 2026 13:53
Sign up for freeto 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

@LukasWodka@divyasinghds