Skip to content

opinions & linting #7961

opinions & linting

opinions & linting #7961

Workflow file for this run

---
name: Validate translations
on: # yamllint disable-line rule:truthy
push:
branches:
- master
paths-ignore:
- '*.md'
- 'docs/**'
pull_request:
types: [opened, synchronize]
paths-ignore:
- '*.md'
- 'docs/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fmt-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install polib
run: |
apt-get update && \
apt-get install -y python3-polib
- name: Check
working-directory: ${{github.workspace}}
shell: bash
run: python3 tools/validate_translations.py
...