Skip to content

Run gem:changelog on a runner - #3086

Merged
soutaro merged 1 commit into
masterfrom
claude/changelog-workflow-dh5jwk
Aug 12, 2026
Merged

Run gem:changelog on a runner#3086
soutaro merged 1 commit into
masterfrom
claude/changelog-workflow-dh5jwk

Conversation

@soutaro

@soutaro soutaro commented Aug 12, 2026

Copy link
Copy Markdown
Member

Some environments cannot reach api.github.com, so rake gem:changelog cannot run there. This runs it on a runner instead, where gh and github.token both work.

Preparing a release from a Claude Code on the web session is possible
except for this one step: `gem:changelog` and `gem:changelog:json` ask
GitHub which pull requests the commits came from, they ask through `gh`,
and such a session cannot reach `api.github.com` at all. The refusal is
keyed on the session, so neither installing `gh` nor rewriting the task
against REST gets around it.

docs/release.md answers that today by describing how to assemble the
same list with the GitHub MCP server instead — which is a second
implementation of `changelog_pull_requests`, written in prose, that has
to be kept in agreement with the first. It has already drifted twice.

A runner has `gh` and `github.token`, as `gem:gh_release` in
release-gems.yml already relies on, so the task can just be run where it
works and read back from the log, the summary or the artifact. The ref
selector picks the branch the changelog is for and the copy of the task
that computes it, which are the same choice.

Nothing is written: `contents: read` for the history and the tags, and
`pull-requests: read` for what the commits came from.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QAgPhpLrU9Z4bENCR9RUub
@soutaro soutaro added the skip-changelog Skip PRs in CHANGELOGs label Aug 12, 2026 — with Claude
@soutaro
soutaro added this pull request to the merge queue Aug 12, 2026
Merged via the queue into master with commit bbac987 Aug 12, 2026
23 checks passed
@soutaro
soutaro deleted the claude/changelog-workflow-dh5jwk branch August 12, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skip PRs in CHANGELOGs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants