Add toggle to control if non powercalc sensors should be added to gro… #24
This file contains 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: 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@v1 | |
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 }} |