fix: add cleanup step for pkgdown pull request workflow#49
Merged
akselthomsen merged 2 commits intomainfrom Jan 14, 2026
Merged
fix: add cleanup step for pkgdown pull request workflow#49akselthomsen merged 2 commits intomainfrom
akselthomsen merged 2 commits intomainfrom
Conversation
Add step to restore original checkout for cleanup in PRs. Signed-off-by: Aksel Thomsen <thomsenaksel@gmail.com>
Signed-off-by: Aksel Thomsen <thomsenaksel@gmail.com>
Code coverage
|
Github pagesReview the pkgdown webpage for the PR here |
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.
Summary
Add step to restore original checkout for cleanup in PRs due to the post job cleanup being confused
when the workflow is running for a PR. The culprit here is the checkout of the gh-pages branch, and seems to only be a problem for packages with a custom setup action such as whirl.
Failing run on whirl:
https://github.com/NovoNordisk-OpenSource/whirl/actions/runs/20995252298/job/60350301124
New successful run using this branch:
https://github.com/NovoNordisk-OpenSource/whirl/actions/runs/20996573128/job/60354827527
Changes Made
Testing
Checklist