fix: update i18n action to run only when .strings file updated

This commit is contained in:
Serhiy Mytrovtsiy
2021-06-11 17:32:19 +02:00
parent 3813c33d71
commit eef7668bfe
2 changed files with 20 additions and 12 deletions

View File

@@ -1,12 +0,0 @@
name: Tests and checks
on: [push, pull_request]
jobs:
i18n:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python3 Kit/scripts/i18n.py

20
.github/workflows/i18n.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: i18n check
on:
push:
paths:
- '.github/workflows/i18n.yaml'
- '**/*.strings'
pull_request:
paths:
- '.github/workflows/i18n.yaml'
- '**/*.strings'
jobs:
i18n:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python3 Kit/scripts/i18n.py