Skip to content

Commit

Permalink
ci: run translation extraction on PRs too (#13214)
Browse files Browse the repository at this point in the history
  • Loading branch information
rissson authored Feb 25, 2025
1 parent 15b5959 commit 080d31f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/translation-extract-compile.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 080d31f

Please sign in to comment.