Updated translations from Phrase (#219) #1281
Workflow file for this run
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: Sync phrase-translations | |
on: | |
push: | |
branches: | |
- dev/1.15.3 | |
jobs: | |
sync-branch: | |
name: Sync phrase-translations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Sync branch | |
uses: connor-baer/action-sync-branch@main | |
with: | |
branch: phrase-translations | |
token: ${{ secrets.PHRASE_TRANSLATIONS }} | |
force: true | |
- name: Slack Notification on error | |
if: ${{ failure() }} | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: general | |
SLACK_COLOR: ${{ job.status }} | |
SLACK_MESSAGE: 'Sync phrase-translations completed : ${{ job.status }}' | |
SLACK_TITLE: 'Sync phrase-translations' | |
SLACK_WEBHOOK: ${{ secrets.SLACK_MONITOR_MOBILE_URL }} |