mirror of
https://github.com/home-assistant/core.git
synced 2026-08-28 10:16:02 -05:00
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Signed-off-by: dependabot[bot] <support@github.com>
39 lines
917 B
YAML
39 lines
917 B
YAML
name: Translations
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- "**strings.json"
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
upload:
|
|
name: Upload
|
|
if: github.repository_owner == 'home-assistant'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
with:
|
|
python-version-file: ".python-version"
|
|
|
|
- name: Upload Translations
|
|
env:
|
|
LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }} # zizmor: ignore[secrets-outside-env]
|
|
run: |
|
|
python3 -m script.translations upload
|