[PR #625] [MERGED] Add workflow to retrigger translation on PR approval #631

Closed
opened 2026-02-16 06:16:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-docs/pull/625
Author: @guchenhe
Created: 12/22/2025
Status: Merged
Merged: 12/22/2025
Merged by: @guchenhe

Base: mainHead: test/approval-retrigger-workflow


📝 Commits (1)

  • 3b498ea Add workflow to retrigger translation on PR approval

📊 Changes

2 files changed (+319 additions, -1 deletions)

View changed files

.github/workflows/sync_docs_on_approval.yml (+286 -0)
📝 CLAUDE.md (+33 -1)

📄 Description

Closes the gap where first-time contributor PRs require maintainer approval, but approval events don't trigger the translation workflow.

New workflow: sync_docs_on_approval.yml

  • Listens to pull_request_review (submitted, approved)
  • Re-runs the most recent Analyze workflow for the PR
  • This triggers the existing Execute chain with fresh artifacts
  • Posts "approval received" comment before starting

Note: Fork/author/reviewer checks are commented out for testing.
Search for "TODO: UNCOMMENT" to restore after testing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-docs/pull/625 **Author:** [@guchenhe](https://github.com/guchenhe) **Created:** 12/22/2025 **Status:** ✅ Merged **Merged:** 12/22/2025 **Merged by:** [@guchenhe](https://github.com/guchenhe) **Base:** `main` ← **Head:** `test/approval-retrigger-workflow` --- ### 📝 Commits (1) - [`3b498ea`](https://github.com/langgenius/dify-docs/commit/3b498ea561455b4b287d4d5170f21b22528ee518) Add workflow to retrigger translation on PR approval ### 📊 Changes **2 files changed** (+319 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/sync_docs_on_approval.yml` (+286 -0) 📝 `CLAUDE.md` (+33 -1) </details> ### 📄 Description Closes the gap where first-time contributor PRs require maintainer approval, but approval events don't trigger the translation workflow. New workflow: sync_docs_on_approval.yml - Listens to pull_request_review (submitted, approved) - Re-runs the most recent Analyze workflow for the PR - This triggers the existing Execute chain with fresh artifacts - Posts "approval received" comment before starting Note: Fork/author/reviewer checks are commented out for testing. Search for "TODO: UNCOMMENT" to restore after testing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 06:16:11 -05:00
yindo closed this issue 2026-02-16 06:16:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#631