Skip to content

ci: add GitHub Packages publish job#6

Merged
guyinwonder168 merged 1 commit into
mainfrom
fix/github-packages-publish
Apr 3, 2026
Merged

ci: add GitHub Packages publish job#6
guyinwonder168 merged 1 commit into
mainfrom
fix/github-packages-publish

Conversation

@guyinwonder168

Copy link
Copy Markdown
Owner

Summary

  • Add publish-github-packages job that runs after publish-npm succeeds
  • Scopes package name to @guyinwonder168/opencode-codex-quota for GitHub Packages
  • Uses GITHUB_TOKEN (automatic) — no extra secrets needed

Workflow

GitHub Release
  → publish-npm (npmjs.org with provenance)
  → publish-github-packages (npm.pkg.github.com, after npm succeeds)

Runs after npm publish succeeds. Scopes package name to @guyinwonder168/opencode-codex-quota for GitHub Packages registry.
@kilo-code-bot

kilo-code-bot Bot commented Apr 3, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • .github/workflows/publish.yml - Added new publish-github-packages job

Overview

The PR adds a GitHub Packages publishing job that runs after the npm publish succeeds. The implementation:

  • Uses GITHUB_TOKEN (automatically available) for authentication
  • Properly scopes the package name to @guyinwonder168/opencode-codex-quota
  • Sets appropriate permissions (contents: read, packages: write)
  • Follows the same quality gates (build, typecheck, lint, test) as the npm job

No security, runtime, or logic issues detected.


Reviewed by minimax-m2.5-20260211 · 97,852 tokens

@guyinwonder168 guyinwonder168 merged commit 8af97c2 into main Apr 3, 2026
4 checks passed
@guyinwonder168 guyinwonder168 deleted the fix/github-packages-publish branch April 3, 2026 20:38
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.

1 participant