mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 12:25:45 -04:00
[DOCS]: Github Action Update Translation PR incorrect timing of operation
#283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CrabSAMA on GitHub (Nov 29, 2025).
Originally assigned to: @guchenhe on GitHub.
Type of Documentation Change
Error/Typo fix
Documentation Page URL or Path
No response
Current Content
https://github.com/langgenius/dify-docs/blob/5fcc31f2e28fc17ddd632eff8a66b96016d3d1c4/.github/workflows/sync_docs_analyze.yml#L384-L397
Upload analysis artifacts is conditions permit, if not required, it will be not upload.
But
Update Translation PRwill be trigger whenAnalyze Documentation Changescompleted, no matter upload or not.Suggested Changes
I think
Update Translation PRtrigger time need to change. Maybe it can be called afterUpload analysis artifacts?Reason for Change
No response
Code of Conduct
@CrabSAMA commented on GitHub (Nov 29, 2025):
Maybe we can refer this feature: https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows#calling-a-reusable-workflow
@guchenhe commented on GitHub (Dec 2, 2025):
hi @CrabSAMA , thanks for the suggestion. i concur that there's a bit of resource inefficiency here. the impact seems minimal though as the update workflow already handles the missing artifacts. further improvements are not be a priority at this point given we'd need to refactor the workflow structure.
@CrabSAMA commented on GitHub (Dec 2, 2025):
IMO this is not an issue of resource inefficiency, now pr which not about document modify (such as update
docs.json), it will trigger analyze workflow, then trigger update workflow, it will make update workflow run failed. Although workflow failure does not block PR now.That failed it's about download missing artifacts, maybe 'already handles the missing artifacts' is not effective?
@dosubot[bot] commented on GitHub (Dec 14, 2025):
Hi, @CrabSAMA. I'm Dosu, and I'm helping the dify-docs team manage their backlog and am marking this issue as stale.
Issue Summary:
What's Next:
Thanks for your understanding and contribution!