FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

final translations and bugfixes/improvements · python/python-docs-de@28a1cb1 · GitHub

Repository navigation

final translations and bugfixes/improvements #54

final translations and bugfixes/improvements

final translations and bugfixes/improvements #54

Workflow file for this run

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
name: Check PO Syntax & Auto-Wrap
on:
push:
branches: [ "**" ]
workflow_dispatch:
permissions:
contents: write
jobs:
format-and-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install gettext & powrap
run: |
sudo apt-get update && sudo apt-get install -y gettext
pip install powrap
- name: Auto-wrap PO files to 80 characters
run: |
find . -name "*.po" -exec powrap --quiet {} +
- name: Commit & Push formatted PO files
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "Auto-format PO files to 80 chars [skip ci]"
file_pattern: "*.po"
- name: Validate PO syntax with msgfmt
run: |
find . -name "*.po" -exec msgfmt --check --check-format -o /dev/null {} \;

Back | FazBrowse Home | New Git URL