Open sloede opened 3 years ago
It looks like DocPreviewCleanup ran successfully for #703; https://github.com/trixi-framework/Trixi.jl/runs/3015705350?check_suite_focus=true. However, the preview is obviously still there...
Doesn't look suspicious to me...
Thanks for investigating! Thus, should the rule then be to
?
Would another possible solution be to modify the workflows to do this automatically? That is, on a pull request being closed (or merged), delete all currently running workflows for that PR? Or make the cleanup workflow depend on all (Documenter) workflows of a PR being finished?
That sounds reasonable
Maybe something like this could be used: https://github.com/marketplace/actions/cancel-workflow-action#advanced-canceling-other-workflows
Right now, we have two documentation previews that were not deleted although the corresponding PR is not open anymore:
See also: https://github.com/trixi-framework/Trixi.jl/tree/d6e8fa39a754d24216232e14671c08d040fd7cf0/previews
Both points needs some investigating to find out what really is going on there.