From f3d2afc85d61b21881cbb4e6583a3686bba80dc0 Mon Sep 17 00:00:00 2001 From: Vim USDS Date: Tue, 15 Mar 2022 16:26:15 -0700 Subject: [PATCH] Add isEnJsonModifed to GITHUB_ENV --- .github/workflows/deploy_fe_staging.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_fe_staging.yml b/.github/workflows/deploy_fe_staging.yml index 436b6ed8..d1f113a4 100644 --- a/.github/workflows/deploy_fe_staging.yml +++ b/.github/workflows/deploy_fe_staging.yml @@ -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! 🚢**