Skip to content

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

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

ci: add workflow to track doc-en changes and open sync issues#786
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 Brazilian Portuguese 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 PT_BR 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 ef693e3 to f2dfe2d Compare July 20, 2026 13:18
@alfsb

alfsb commented Jul 20, 2026

Copy link
Copy Markdown
Member

@leonardolara , novamente, deixo para ti resolver isso. Eu acredito que isso é bem mais últil em projetos com equipes grandes, que quase nunca é o caso da tradução para português do Brasil.

@leonardolara

Copy link
Copy Markdown
Contributor

Na minha opinião esse workflow é desnecessário. Nosso processo de tradução documentado já usa outra ferramenta para controle de pendências (revcheck) que a meu ver funciona muito bem. Como temos poucos tradutores ativos, no momento podemos manter como está.

@alfsb

alfsb commented Jul 24, 2026

Copy link
Copy Markdown
Member

Isso me lembra, aliás @leonardolara . Como é praticamente você que está tocando a tradução sozinho, talvez seja a hora de oficializar você como o coordenador. Ainda que isso meio que tenha desaparecido com o tempo, lembro que existe em algum lugar um arquivo que documenta o coordenador ou contato prioritário de cada tradução. Caso encontre esse registro, pode alterar ou pode pedir para alterar para você.

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.

3 participants