Skip to content

Commit

Permalink
fix: add flag to add-files-to-translate script call
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Dec 15, 2021
1 parent 32191bf commit b60c345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-slugs-to-translate-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files"
yarn add-files-to-translate $URL
yarn add-files-to-translate -u $URL
2 changes: 1 addition & 1 deletion scripts/actions/translation_workflow/testing/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export GITHUB_TOKEN='' # token with no permissions

# # step 1
URL="https://api.github.com/repos/newrelic/docs-website/pulls/3271/files"
yarn add-files-to-translate $URL
yarn add-files-to-translate -u $URL

# # step 2
export TRANSLATION_VENDOR_API_URL=https://api.smartling.com
Expand Down

0 comments on commit b60c345

Please sign in to comment.