Summary
The packaged reports.yml workflow fails in preview-cleanup jobs after the recent extraction of GitHub Pages helpers into local actions under .github/actions/github-pages/.
Failure
Cleanup Pull Request Preview fails with:
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/dev-tools/dev-tools/.github/actions/github-pages/remove-preview'. Did you forget to run actions/checkout before running your local action?
Root Cause
The affected cleanup jobs checkout only the gh-pages branch into path: gh-pages, but they do not checkout the repository workspace containing .github/actions/github-pages/* before invoking those local actions.
That means the action path does not exist in the runner workspace even though the workflow itself is valid.
Scope
cleanup_preview
cleanup_orphaned_previews
- verify whether any other reports/wiki/board job invokes local actions without first checking out the repository root
Expected Fix
- ensure jobs that invoke local actions have a repository-root checkout available in the workspace
- keep the
gh-pages checkout used for preview cleanup logic
- add focused validation so this regression is less likely to recur
Summary
The packaged
reports.ymlworkflow fails in preview-cleanup jobs after the recent extraction of GitHub Pages helpers into local actions under.github/actions/github-pages/.Failure
Cleanup Pull Request Previewfails with:Root Cause
The affected cleanup jobs checkout only the
gh-pagesbranch intopath: gh-pages, but they do not checkout the repository workspace containing.github/actions/github-pages/*before invoking those local actions.That means the action path does not exist in the runner workspace even though the workflow itself is valid.
Scope
cleanup_previewcleanup_orphaned_previewsExpected Fix
gh-pagescheckout used for preview cleanup logic