Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: python/cpython
ref: 3.14
ref: v3.14.6

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -40,10 +40,6 @@ jobs:
uses: actions/checkout@v4
with:
path: Doc/locales/fa/LC_MESSAGES

- name: Pull latest translations
run: git pull
working-directory: ./Doc/locales/fa/LC_MESSAGES

- name: Setup problem matcher
uses: sphinx-doc/github-problem-matcher@v1.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
with:
python-version: '3.11'

- name: Install sphinx-lint
run: pip install sphinx-lint
- name: Install sphinx-lint and polib
run: pip install sphinx-lint polib

- name: Install gettext tools
run: sudo apt-get install -y gettext
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/translation-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Translation Status

on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch: {}

permissions:
contents: write

jobs:
update-status:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: pip install polib

- run: python3 scripts/generate_status_table.py

- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add RESOURCE.md
git diff --staged --quiet || git commit -m "Update translation status table"
git push
Loading
Loading