Repository navigation
chore: add public-repo readiness files (CODEOWNERS, LICENSE, Socket scan) - #4
Merged
Merged
Conversation
Greptile SummaryThis PR adds the standard public-repository readiness files to
Confidence Score: 5/5All changes are configuration and documentation files with no impact on runtime behavior — safe to merge. Every file added is a repo metadata artifact (CODEOWNERS, LICENSE, issue template, README sections, GitHub Actions workflow). The workflow pins both the checkout action to a commit SHA and the Socket CLI to an exact version, and uses minimal contents: read permissions. No application logic is touched. No files require special attention. Important Files Changed
|
Prerequisites for making the repo public per the WorkOS runbook for shipping public-facing repositories, mirroring authkit-nextjs: - CODEOWNERS assigning the repo to @workos/dx - MIT LICENSE plus README License and Contributing sections - Daily Socket tier-1 vulnerability scan workflow - Bug report issue template adapted for Electron (OS, Electron version, sign-in ceremony)
Security review of the workflow (originally a verbatim copy from authkit-nextjs) flagged three issues: - Script injection: distinct_id was interpolated directly into a run: block; pass it through the DISTINCT_ID env var instead so workflow_dispatch input can't inject shell commands. - Supply chain: npm install -g socket floated the latest release; pin to socket@1.1.145 since the CLI runs adjacent to SOCKET_SECURITY_API_TOKEN. - Excessive permissions: no permissions block meant default token grants; add top-level contents: read, as checkout is the only GitHub API use.
nicknisi
force-pushed
the
chore/public-repo-readiness
branch
from
July 23, 2026 18:22
59190dc to
9581406
Compare
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.
Prerequisites for making this repo public, per the How we ship public-facing repositories runbook and the request in #authkit Slack. Everything mirrors the public authkit-nextjs repo:
.github/CODEOWNERS—* @workos/dxLICENSE— MIT (package.json already declared MIT but the file was missing).github/workflows/socket-tier1-analysis.yml— daily Socket Tier 1 vulnerability scan, copied verbatim (needs theSOCKET_API_KEYrepo secret).github/ISSUE_TEMPLATE/bug_report.md— adapted for Electron (OS / Electron version / sign-in ceremony fields)README.md— adds the runbook-required Contributing and License sectionsNot in this PR (repo settings, not code): the
mainbranch-protection ruleset — spec mirroring authkit-nextjs's is in the PR discussion.