Write the README language tables after translations land #1045
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1045
Loading…
Reference in a new issue
No description provided.
Delete branch "1044-readme-languages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1044
The README's language table follows each language's translation of the tagline, so every Weblate pull request turned the unit job red until the README was regenerated by hand on the
weblatebranch, and Weblate dropped that commit at its next rebase..forgejo/workflows/readme.yml(new): on a push tomainthat touches the locale catalogues, the README, the flags or the two scripts (and on demand), it runsscripts/readme_languages.pyandscripts/github_readme.py. If either file moved, it force-pushesreadme-languages(main plus one commit) and opens a PR, or updates the one already open. If nothing moved and one is open, it closes it. It uses theDEPENDENCIES_TOKENbot token, asdependencies.ymldoes, so CI runs on that PR. The PR says to squash-merge it:mainnow requires signed commits and the bot's commit is unsigned, but the squash commit is Forgejo's and signed.tests/test_readme.py: underCI, the table test still writes the table (a broken script still fails) but skips the comparison. On a contributor's machine it compares as before. The.github/README.mdtest is unchanged; Weblate never touches the README.CONTRIBUTING.mdand.forgejo/zizmor.ymlsay the same; zizmor passes offline.The new workflow only runs once it is on
main, so its first real run is after this merges (and after #1041 lands, if that is merged first).🤖 Generated with Claude Code