From ff46bccb415a1a8574d1456cecda1e157e60ee35 Mon Sep 17 00:00:00 2001 From: Jean-Marc Goepfert Date: Tue, 27 Aug 2024 09:15:08 +1000 Subject: [PATCH] Add i18n-validator-action --- .github/workflows/i18n-validator.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/i18n-validator.yml diff --git a/.github/workflows/i18n-validator.yml b/.github/workflows/i18n-validator.yml new file mode 100644 index 00000000..847bbb3f --- /dev/null +++ b/.github/workflows/i18n-validator.yml @@ -0,0 +1,26 @@ +name: i18n validator + +on: + push: + branches: + - master + pull_request: + branches: + - master + - jgoepfert-add-i18n-validator-action + +jobs: + main: + name: English Strings Static Validations + runs-on: [self-hosted, zendesk-stable] + env: + BUNDLE_ZDREPO__JFROG__IO: "${{ secrets.BUNDLE_ZDREPO__JFROG__IO }}" + steps: + - uses: zendesk/checkout@v3 + - name: Set up Ruby + uses: zendesk/setup-ruby@v1 + with: + ruby-version: 3.2.2 + - run: bundle init + - run: gem install zendesk_i18n_dev_tools --source https://$BUNDLE_ZDREPO__JFROG__IO@zdrepo.jfrog.io/zdrepo/api/gems/gems-local/ + - run: validate_string_sweep_files 'zendesk/zopim.yml'