Skip to content

Conversation

@thompson-tomo
Copy link
Contributor

Closes #188
Closes #169

This introduces a dry run option which rather than writing changes to the files instead returns an exit code of 1. This exit code can then be used in ci environments to fail a release/build due to out of date documentation.

Note this corrects the check to see if a TOC needs to be transformed as indicated in #169 and as such that pr should be closed.

@thompson-tomo thompson-tomo changed the title Add support for a dry run option for ci environments #188 feat: Add support for a dry run option for ci environments #188 Dec 6, 2025
Copy link
Collaborator

@AndrewSouthpaw AndrewSouthpaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few nits! Thanks.

@thompson-tomo thompson-tomo force-pushed the feature/#188_dryrun-option branch from b2e6f2f to 384954e Compare December 8, 2025 00:20
@thompson-tomo thompson-tomo force-pushed the feature/#188_dryrun-option branch from 384954e to 91f35e1 Compare December 8, 2025 01:45
@thompson-tomo
Copy link
Contributor Author

@AndrewSouthpaw the changes have been made. Is there anything else needed from me for this PR?

@AndrewSouthpaw AndrewSouthpaw merged commit 9dd28e7 into thlorenz:master Dec 10, 2025
5 checks passed
@thompson-tomo thompson-tomo deleted the feature/#188_dryrun-option branch December 10, 2025 06:28
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.

[Feature Request] Check-only mode for CI

2 participants