Merge pull request #868 from newfold-labs/dependabot/npm_and_yarn/dev… #258
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |