Skip to content

Add workflow to retrigger translation on PR approval#625

Merged
guchenhe merged 1 commit intomainfrom
test/approval-retrigger-workflow
Dec 23, 2025
Merged

Add workflow to retrigger translation on PR approval#625
guchenhe merged 1 commit intomainfrom
test/approval-retrigger-workflow

Conversation

@guchenhe
Copy link
Copy Markdown
Contributor

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.

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.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@guchenhe guchenhe requested a review from RiskeyL as a code owner December 23, 2025 00:25
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 23, 2025
@guchenhe guchenhe merged commit 2249233 into main Dec 23, 2025
1 check failed
@guchenhe guchenhe deleted the test/approval-retrigger-workflow branch December 23, 2025 00:25
@dosubot dosubot bot added the enhancement New feature or request label Dec 23, 2025
RiskeyL pushed a commit that referenced this pull request Dec 24, 2025
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.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant