mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-14 19:20:37 +03:00
27 lines
759 B
YAML
27 lines
759 B
YAML
name: Update Translations
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 10 * * *'
|
|
jobs:
|
|
update-dep:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Get updated translations
|
|
env:
|
|
POEDITOR_PROJECTID: ${{ secrets.POEDITOR_PROJECTID }}
|
|
POEDITOR_APIKEY: ${{ secrets.POEDITOR_APIKEY }}
|
|
run: |
|
|
./update-translations.sh
|
|
npm install
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
commit-message: Update translations
|
|
title: Update translations
|
|
body: |
|
|
- Update translations with latest from POEditor
|
|
branch: update-translations
|