blob: 4becaebd6b4ef473b43566c95181e482b16b76fb [file] [log] [blame]
Suraj Shetty0a6770a2020-10-14 10:21:31 +05301name: Frappe Linter
2on:
3 pull_request:
4 branches:
5 - develop
6 - version-12-hotfix
7 - version-11-hotfix
8jobs:
9 check_translation:
10 name: Translation Syntax Check
11 runs-on: ubuntu-18.04
12 steps:
13 - uses: actions/checkout@v2
14 - name: Setup python3
15 uses: actions/setup-python@v1
16 with:
17 python-version: 3.6
18 - name: Validating Translation Syntax
19 run: |
20 git fetch origin $GITHUB_BASE_REF:$GITHUB_BASE_REF -q
21 files=$(git diff --name-only --diff-filter=d $GITHUB_BASE_REF)
22 python $GITHUB_WORKSPACE/.github/helper/translation.py $files