fix(secrets): use TypeScript renderer - #168
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the secrets rendering helper to use the repository-standard TypeScript script convention by switching the renderer from an .mjs file to a .ts file and updating the setup script to call the new path.
Changes:
- Update
scripts/secrets-setup.shto executescripts/secrets-render.tsinstead ofscripts/secrets-render.mjs. - Add
scripts/secrets-render.ts(TypeScript version of the secrets renderer/validator).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/secrets-setup.sh | Switches the invoked renderer from .mjs to .ts. |
| scripts/secrets-render.ts | TypeScript implementation of the secrets payload validator + dotenv renderer. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
putio-releaser Bot
pushed a commit
that referenced
this pull request
Aug 2, 2026
## [11.1.1](v11.1.0...v11.1.1) (2026-08-02) ### Bug Fixes * **secrets:** use TypeScript renderer ([#168](#168)) ([03d69da](03d69da))
Contributor
|
🎉 This PR is included in version 11.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use the repository-standard TypeScript extension for the secrets renderer.
Changed
scripts/secrets-render.mjstoscripts/secrets-render.tsReview aids
Before:
node ./scripts/secrets-render.mjsAfter:
node ./scripts/secrets-render.tsRisks
None expected. This is a 100% content-preserving rename, and the repository already executes Node TypeScript scripts directly.
Verification
pnpm run verifybash scripts/secrets-setup.test.shshellcheck scripts/secrets-setup.sh scripts/secrets-setup.test.shsecrets-render.mjsreference remainsComplexity
Mechanical rename only.
Summary by cubic
Switched the secrets renderer to TypeScript by renaming
scripts/secrets-render.mjstoscripts/secrets-render.tsand updatingscripts/secrets-setup.shto call it. No behavior change.Written for commit cac8737. Summary will update on new commits.