From a761a98e3a42b74386ef39e4bdaae02f6660e6ec Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 23:27:29 +0000 Subject: [PATCH] ci: add review comments on gettext files (backport #55699) (#55700) Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com> --- .../workflows/review-translation-changes.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/review-translation-changes.yaml diff --git a/.github/workflows/review-translation-changes.yaml b/.github/workflows/review-translation-changes.yaml new file mode 100644 index 00000000000..0284082c310 --- /dev/null +++ b/.github/workflows/review-translation-changes.yaml @@ -0,0 +1,25 @@ +name: Review translation PRs +description: "Posts review comments with relevant translation changes that are hard to inspect in the diff view." + +on: + pull_request_target: + types: [opened, reopened, synchronize, ready_for_review] + paths: + - "**/*.po" + - "**/*.pot" + +concurrency: + group: po-review-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + review-po-pr: + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + contents: read + issues: write + pull-requests: write + + steps: + - uses: alyf-de/po-review-action@v1.0.0