Skip to content

Use Octokit instead of calling gh#9

Draft
neilvcarvalho wants to merge 11 commits into
mainfrom
nc/octokit
Draft

Use Octokit instead of calling gh#9
neilvcarvalho wants to merge 11 commits into
mainfrom
nc/octokit

Conversation

@neilvcarvalho
Copy link
Copy Markdown
Member

No description provided.

Swaps the shell-based GhClient (which shelled out to the `gh` CLI) for
one backed by the octokit gem. GhClient now takes `token` and an optional
`client`  instead of `runner`. The exe reads `GITHUB_TOKEN` and passes it
through.
The exe needs octokit, which isn't in the consumer's Gemfile. A second
ruby/setup-ruby step pointed at the action's own Gemfile handles the
install and caches it keyed on Gemfile.lock. BUNDLE_GEMFILE in the run
step ensures bundle exec picks up the action's gems rather than the
consumer's.
@neilvcarvalho neilvcarvalho force-pushed the nc/octokit branch 3 times, most recently from 38b3d61 to 2ccf90a Compare May 22, 2026 18:25
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