Repository navigation
docs: move GitHub access to docs/github.md - #271
Merged
Merged
Conversation
Closed
4 tasks
This was referenced Sep 29, 2026
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.
Follows #270 and #266. Updated when #262 closes, since the section on a read-only token describes the late check it fixes.
cli.mdenvironment section andconfiguration.mdgithub, and the rate limit was written out in all three. A user setting up a token had to read three pages, and a correction had to be made three times.generatewrites to GitHub.cli.md,configuration.mdand the README keep one sentence each and link here.previewandgenerate --no-publishneed read-only,generateneeds Contents read and write. A read-only token cannot change the repository, so the page recommends it until publishing.404rather than403, so the typo and the missing token are both named.generateadds for the release notes.Chartula__GitHub__ApiBaseUrlwith the header line that confirms it. The page says to keep the trailing slash: without it, the relative request paths replace the last segment, sohttps://ghe.example.com/api/v3sends requests to/api/repos/...and every request fails with404. The fix in code is Chartula__GitHub__ApiBaseUrl without a trailing slash sends every request to the wrong path #272.generatewrites: a draft for a tag without a release, replaced notes for an existing one (A run with flags looks like a clean run, and a published release's notes are replaced unasked #249), the re-run that finds its earlier draft, and publishing a draft withgh release edit --draft=false.generate: the files are written and the model calls paid for before GitHub refuses; the page shows that output and recommends--no-publishuntilgeneratefinds out the token cannot publish only after every model call #262 moves the check.cli.mdkeeps a pointer that all three credential variables can be renamed, which the removed token section used to carry.Verified: the messages are taken from
GitHubPullRequestReader.cs,GitHubReleaseNotesWriter.cs,GitHubErrorResponse.csandReleaseCommand.cs. The trailing-slash behavior follows fromGitHubHttpClientFactorysettingBaseAddressand the adapters requesting relative paths; checked with RFC 3986 resolution ofrepos/...against both forms of the URL. Every relative link and anchor in the repository resolves.Tests: no test changed; documentation only.
MalformedYamlTests(readsdocs/configuration.md) passing.