mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-24 02:24:20 -08:00
Add isEnJsonModifed to GITHUB_ENV
This commit is contained in:
parent
a858d5b44f
commit
f3d2afc85d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy_fe_staging.yml
vendored
6
.github/workflows/deploy_fe_staging.yml
vendored
|
@ -28,9 +28,9 @@ jobs:
|
|||
- name: Detect if new translation are required (en.json was modified)
|
||||
if: contains(steps.changed-files.outputs.modified_files, 'client/src/intl/en.json')
|
||||
run: |
|
||||
echo "New translations required! The en.json was modified, please update translations in other language files."
|
||||
- name: Update PR with deployed URL
|
||||
uses: mshick/add-pr-comment@v1
|
||||
echo "is_en_json_modified=true" >> GITHUB_ENV
|
||||
- name: Update PR with deployed URL
|
||||
if: $ {{ env.is_en_json_modified }}
|
||||
with:
|
||||
message: |
|
||||
**🚢 New translations needed! 🚢**
|
||||
|
|
Loading…
Add table
Reference in a new issue