Repository navigation
PORTW-32: Adopt doc-drift-checker for README drift on pull requests - #32
Merged
Merged
Conversation
Adds a warn-only drift job pinned to doc-drift-checker v0.2.2 and a .docdrift.yaml that maps the Flags and Stopping safely sections. Exit codes stays unmapped on purpose: internal/cli/run.go changes with almost every feature.
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.
YouTrack: https://youtrack.xn--wrm-hoa.li/issue/PORTW-32
Adds a warn-only CI job that runs doc-drift-checker (pinned to v0.2.2) on pull requests and reports README sections whose linked code changed while the section did not.
Commits:
Test plan: go vet, go build, go test and golangci-lint are clean. Locally, doc-drift-checker links shows the two mapped sections linked and Exit codes unmapped, and check --base main reports no drift. The new drift job should appear on this pull request and pass with no annotations.
Independent review: PASS on 4c9781c.