From 080d31f189f8123d1f5535c4f48a3cc6676fb7a7 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 25 Feb 2025 09:23:46 +0100 Subject: [PATCH] ci: run translation extraction on PRs too (#13214) --- .github/workflows/translation-extract-compile.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translation-extract-compile.yml b/.github/workflows/translation-extract-compile.yml index b54a0209e354..eb5267c728a6 100644 --- a/.github/workflows/translation-extract-compile.yml +++ b/.github/workflows/translation-extract-compile.yml @@ -1,9 +1,13 @@ --- -name: authentik-backend-translate-extract-compile +name: authentik-translate-extract-compile on: schedule: - cron: "0 0 * * *" # every day at midnight workflow_dispatch: + pull_request: + branches: + - main + - version-* env: POSTGRES_DB: authentik @@ -32,6 +36,7 @@ jobs: poetry run ak compilemessages make web-check-compile - name: Create Pull Request + if: ${{ github.event_name != 'pull_request' }} uses: peter-evans/create-pull-request@v7 with: token: ${{ steps.generate_token.outputs.token }}