Migrate DocPreviewCleanup to centralized SciML caller#222
Merged
ChrisRackauckas merged 1 commit intoJun 7, 2026
Merged
Conversation
Replace the hand-rolled inline gh-pages doc-preview cleanup workflow with the centralized reusable workflow SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Note
Please ignore this PR until it has been reviewed by @ChrisRackauckas.
Summary
Migrates the doc preview cleanup workflow from the hand-rolled inline implementation to the centralized reusable workflow in
SciML/.github.The inline
.github/workflows/DocPreviewCleanup.ymlpreviously contained custom logic that checks out thegh-pagesbranch, deletespreviews/PR$PRNUM, squashes the history, and force-pushes back togh-pages(standard Documenter doc-preview cleanup). This is replaced by a thin caller of the centralized reusable workflowSciML/.github/.github/workflows/docs-preview-cleanup.yml@v1, which performs the equivalent cleanup. This is a true behavioral replacement.Changes
DocPreviewCleanup.ymlwith a caller ofSciML/.github/.github/workflows/docs-preview-cleanup.yml@v1(secrets: inherit,permissions: contents: write).This is a draft PR; please ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code