diff --git a/.github/workflows/contribute-credits.yml b/.github/workflows/contribute-credits.yml new file mode 100644 index 000000000..e2eac4a42 --- /dev/null +++ b/.github/workflows/contribute-credits.yml @@ -0,0 +1,26 @@ +name: Prepare contributor credits + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + release-notes: + 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 + with: + token: ${{ github.token }} + + - name: Show translator credits + run: | + printf '%s\\n' "${{ steps.translator-credits.outputs.credits }}"