Skip to content

Conversation

snomiao
Copy link
Member

@snomiao snomiao commented Oct 6, 2025

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 by Unito

…rkflow

Use actions/checkout@v5 to checkout the repository before referencing
the local custom action ./.github/actions/setup-frontend
Copy link

github-actions bot commented Oct 6, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 10/07/2025, 05:35:31 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

Copy link

github-actions bot commented Oct 6, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 10/07/2025, 05:59:53 PM UTC

📈 Summary

  • Total Tests: 487
  • Passed: 453 ✅
  • Failed: 0
  • Flaky: 4 ⚠️
  • Skipped: 30 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 444 / ❌ 0 / ⚠️ 4 / ⏭️ 30
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

snomiao and others added 5 commits October 7, 2025 06:42
…n branch

Add branch-specific condition to the update-locales job in .github/workflows/update-locales.yaml. The job's if expression now includes github.head_ref == 'sno-fix-setup-frontend-for-i18n', allowingthe
@snomiao snomiao marked this pull request as ready for review October 7, 2025 17:33
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 7, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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

@snomiao
Copy link
Member Author

snomiao commented Oct 7, 2025

@christian-byrne @DrJKL ready for review, workflow already tested in this PR and then reverted the testing code.

@DrJKL DrJKL self-assigned this Oct 7, 2025
@DrJKL DrJKL assigned christian-byrne and unassigned DrJKL Oct 7, 2025
@christian-byrne christian-byrne merged commit 6617de7 into main Oct 7, 2025
30 checks passed
@christian-byrne christian-byrne deleted the sno-fix-setup-frontend-for-i18n branch October 7, 2025 19:20
christian-byrne pushed a commit that referenced this pull request Oct 8, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants