From 643603c0731b7d166ccc8aeaaf28f8426b935632 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Fri, 11 Sep 2026 14:09:09 -0700 Subject: [PATCH] Add weblate translation credit workflow --- .github/workflows/translate-credits.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/translate-credits.yml diff --git a/.github/workflows/translate-credits.yml b/.github/workflows/translate-credits.yml new file mode 100644 index 00000000..74fbb97a --- /dev/null +++ b/.github/workflows/translate-credits.yml @@ -0,0 +1,25 @@ +name: Prepare translation credits + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + release-notes: + if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'weblate') + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - id: translator-credits + uses: audiobookshelf/get-translator-credits@v1.1.0 + + - name: Show translator credits + run: | + printf '%s\n' "${{ steps.translator-credits.outputs.credits }}"