name: POEditor importon:workflow_dispatch:schedule:- cron: '0 10 * * *'jobs:update-translations:runs-on: ubuntu-latestif: ${{ github.repository_owner == 'navidrome' }}steps:- uses: actions/checkout@v6- name: Get updated translationsid: poeditorenv:POEDITOR_PROJECTID: ${{ secrets.POEDITOR_PROJECTID }}POEDITOR_APIKEY: ${{ secrets.POEDITOR_APIKEY }}run: |.github/workflows/update-translations.sh 2> title.tmptitle=$(cat title.tmp)echo "::set-output name=title::$title"rm title.tmp- name: Show changes, if anyrun: |git status --porcelaingit diff- name: Create Pull Requestuses: peter-evans/create-pull-request@v8with:token: ${{ secrets.PAT }}author: "navidrome-bot <navidrome-bot@navidrome.org>"commit-message: "fix(ui): update ${{ steps.poeditor.outputs.title }} translations from POEditor"title: "fix(ui): update ${{ steps.poeditor.outputs.title }} translations from POEditor"branch: update-translations