Skip to content

Merge pull request #6780 from mozilla/dependabot/npm_and_yarn/immutab… #33956

Merge pull request #6780 from mozilla/dependabot/npm_and_yarn/immutab…

Merge pull request #6780 from mozilla/dependabot/npm_and_yarn/immutab… #33956

name: Lint Reference Files
permissions: {}
on:
push:
pull_request:
workflow_dispatch:
jobs:
l10n-lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Set up Python 3
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: '3.10'
cache: 'pip'
- name: Install Python dependencies
run: |
pip install -r .github/requirements.txt
- name: Lint reference strings
run: |
moz-fluent-lint ./locales/en/ --config .github/linter_config.yml
- name: Lint pending strings
if: always() # This step should run even if the previous one fails
run: |
moz-fluent-lint ./locales-pending/ --config .github/linter_config.yml