Skip to content

Merge pull request #868 from newfold-labs/dependabot/npm_and_yarn/dev… #258

Merge pull request #868 from newfold-labs/dependabot/npm_and_yarn/dev…

Merge pull request #868 from newfold-labs/dependabot/npm_and_yarn/dev… #258

name: Check for Updates to Translations
on:
push:
branches:
- 'develop'
workflow_dispatch:
# Cancels all previous workflow runs for the branch that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}
jobs:
translate:
name: 'Check and update translations'
permissions:
contents: write
pull-requests: write
uses: newfold-labs/workflows/.github/workflows/reusable-translations.yml@main
with:
text_domain: 'wp-plugin-bluehost'
i18n-script-location: 'npm'
secrets:
TRANSLATOR_API_KEY: ${{ secrets.TRANSLATOR_API_KEY }}