Skip to content

Add daily workflow to track doc-en changes#232

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

Add daily workflow to track doc-en changes#232
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:add/track-en-changes-workflow

Conversation

@lacatoire
Copy link
Copy Markdown
Member

Portiert den Tracker aus doc-fr (siehe .github/workflows/track-en-changes.yml in php/doc-fr) nach doc-de. Einmal täglich werden die letzten sieben Tage Commits auf doc-en/master durchgegangen; für jeden Commit, der noch kein passendes Issue hat, wird ein Sync-Issue eröffnet mit der Liste der zu aktualisierenden DE-Dateien (und etwaiger neu hinzugekommener EN-Dateien).

Details:

  • Cron: täglich um 06:00 UTC, zusätzlich workflow_dispatch.
  • Berechtigungen: issues: write, contents: read.
  • Das Label sync-en wird beim Start idempotent angelegt, falls nicht vorhanden.
  • Deduplizierung über den Commit-SHA, damit Wiederläufe keine Duplikate erzeugen.
  • Issue-Body ist auf Deutsch.

Ports the doc-fr tracker (https://github.com/php/doc-fr/blob/master/.github/workflows/track-en-changes.yml)
to doc-de. Once a day, scans the last week of doc-en master commits and
opens a tracking issue per commit listing the German files that need an
update (and any newly-added English files not yet translated).

- Workflow runs on schedule (06:00 UTC) and on workflow_dispatch.
- Permissions: `issues: write`, `contents: read`.
- Idempotently ensures the `sync-en` label exists at start.
- Dedupes by commit SHA so re-runs do not create duplicate issues.
- Issue body is in German ("Zu aktualisierende DE-Dateien" /
  "Neue EN-Dateien (noch nicht übersetzt)").
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.

1 participant