-
Notifications
You must be signed in to change notification settings - Fork 377
fix: Add checkout step before using local action in update-locales workflow #5938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…rkflow Use actions/checkout@v5 to checkout the repository before referencing the local custom action ./.github/actions/setup-frontend
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 10/07/2025, 05:35:31 PM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Test Results⏰ Completed at: 10/07/2025, 05:59:53 PM UTC 📈 Summary
📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a checkout step so the workflow can use a local composite action without failing due to missing files.
- Add actions/checkout step before invoking the local action
- Keep workflow logic otherwise unchanged
@christian-byrne @DrJKL ready for review, workflow already tested in this PR and then reverted the testing code. |
…rkflow (#5938) ## Problem The `update-locales` workflow was failing with the error: ``` Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/ComfyUI_frontend/ComfyUI_frontend/.github/actions/setup-frontend'. Did you forget to run actions/checkout before running your local action? ``` Ref: https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/18270266173/job/52011427608 ## Solution Added a checkout step using `actions/checkout@v5` before the "Setup Frontend" step. This ensures the repository code (including the local action definition) is available before GitHub Actions tries to use it. ## Changes - Added checkout step to `.github/workflows/update-locales.yaml` - Uses `actions/checkout@v5` to checkout the repository before referencing the local custom action This is a minimal fix that follows GitHub Actions best practices. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5938-fix-Add-checkout-step-before-using-local-action-in-update-locales-workflow-2846d73d365081cfb720ffaa528ce26e) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <[email protected]>
Problem
The
update-locales
workflow was failing with the error:Ref: https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/18270266173/job/52011427608
Solution
Added a checkout step using
actions/checkout@v5
before the "Setup Frontend" step. This ensures the repository code (including the local action definition) is available before GitHub Actions tries to use it.Changes
.github/workflows/update-locales.yaml
actions/checkout@v5
to checkout the repository before referencing the local custom actionThis is a minimal fix that follows GitHub Actions best practices.
┆Issue is synchronized with this Notion page by Unito