Fix parsing error on flag SVG, add titles for alt text (#15714) #1235
This file contains 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: Fluent Linter | |
on: | |
push: | |
paths: | |
- "l10n/en/**.ftl" | |
- ".github/l10n/*" | |
- ".github/workflows/fluent_linter.yml" | |
branches: | |
- main | |
pull_request: | |
paths: | |
- "l10n/en/**.ftl" | |
- ".github/l10n/*" | |
- ".github/workflows/fluent_linter.yml" | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Python dependencies | |
run: | | |
pip install moz-fluent-linter==0.4.* | |
- name: Lint mozilla.org files | |
run: | | |
moz-fluent-lint l10n/en --config .github/l10n/linter_config.yml |