Skip to content

Commit

Permalink
fix: validate translation files only when it's changed (#581)
Browse files Browse the repository at this point in the history
This helps to avoid breaking PR builds due to translation issues even though it's not the PR's fault.

This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).
  • Loading branch information
OmarIthawi authored Aug 30, 2023
1 parent 3bf89ad commit edbb39b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/validate-translation-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
name: Validate translation PO files

on:
- pull_request
pull_request:
paths:
- 'translations/**'

jobs:
validate-po-files:
Expand Down

0 comments on commit edbb39b

Please sign in to comment.