Skip to content

Make better use of pre-commit (#2288) #53

Make better use of pre-commit (#2288)

Make better use of pre-commit (#2288) #53

name: Crowdin upload
on:
push:
paths:
- custom_components/powercalc/translations/*
- crowdin.yaml
branches: [ master ]
workflow_dispatch:
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: crowdin action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: true
download_translations: false
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}