Skip to content

ci: add workflow to track doc-en changes and open sync issues#1050

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/track-en-changes
Open

ci: add workflow to track doc-en changes and open sync issues#1050
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/track-en-changes

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Adds a daily GitHub Actions workflow that watches commits on php/doc-en and automatically opens issues for files that need updating in the Chinese translation.

How it works

  • Runs every day at 06:00 UTC (and can be triggered manually)
  • Fetches all doc-en commits from the last 7 days
  • For each commit, checks whether an issue already exists (deduplication by SHA)
  • If not, opens an issue listing the ZH files to update
  • Skips commits tagged [skip-revcheck]
  • Creates the sync-en label on first run if it does not exist yet

Prior art

This workflow is already in use in doc-fr, doc-ru, doc-es, and doc-de. There is also an ongoing initiative in doc-base to provide reusable workflows that all doc-* repos can share.

@lacatoire
lacatoire force-pushed the feat/track-en-changes branch from dd87650 to 753f791 Compare July 20, 2026 13:17

@sy-records sy-records left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's necessary; it might lead to a lot of issues being opened, and no one will be able to address them in a timely manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants