From c44246df4ee438f7de042fc45d53aee99248d59d Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:31:44 +0300 Subject: [PATCH 1/9] Fix translate workflow --- .github/workflows/translate.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index b2e72a2f..aecbd3e0 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -26,11 +26,12 @@ jobs: run: _translations/prepare-config.sh - name: Use po4a - uses: addnab/docker-run-action@v3 + uses: vjik/docker-run@v1 with: image: ghcr.io/yiisoft-contrib/po4a:0.74 - options: -v ${{ github.workspace }}:/src -w /src/_translations - run: po4a po4a.conf && po4a po4a.conf + options: -w /src/_translations + volumes: ${{ github.workspace }}:/src + command: po4a po4a.conf && po4a po4a.conf - name: Commit changed files uses: stefanzweifel/git-auto-commit-action@v5 From f69d0cbd72849a713902e45c9ffe2f7e8414b4fc Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:34:14 +0300 Subject: [PATCH 2/9] test --- .github/workflows/translate.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index aecbd3e0..58eb43e7 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -1,9 +1,7 @@ name: Update translations on: - pull_request_target: - paths: - - '_translations/**' + pull_request: push: branches: [ "master" ] paths: From 7fba6d594c72d0f8acd38a47345d2cb1ec322b9a Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:36:44 +0300 Subject: [PATCH 3/9] fix --- .github/workflows/translate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 58eb43e7..8c2a4d9d 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -24,7 +24,7 @@ jobs: run: _translations/prepare-config.sh - name: Use po4a - uses: vjik/docker-run@v1 + uses: vjik/docker-run@1 with: image: ghcr.io/yiisoft-contrib/po4a:0.74 options: -w /src/_translations From 7a74afa15018f74d8f6510692e3a3001ffca9511 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:37:24 +0300 Subject: [PATCH 4/9] fix --- .github/workflows/translate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 8c2a4d9d..ad59cb0a 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -24,7 +24,7 @@ jobs: run: _translations/prepare-config.sh - name: Use po4a - uses: vjik/docker-run@1 + uses: vjik/docker-run@1.0 with: image: ghcr.io/yiisoft-contrib/po4a:0.74 options: -w /src/_translations From 1354ff59b5beeea350d240d1ea3490a2dc5f5d87 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:48:22 +0300 Subject: [PATCH 5/9] fix --- .github/workflows/translate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index ad59cb0a..3d5836f2 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -24,11 +24,11 @@ jobs: run: _translations/prepare-config.sh - name: Use po4a - uses: vjik/docker-run@1.0 + uses: vjik/docker-run@v1 with: image: ghcr.io/yiisoft-contrib/po4a:0.74 - options: -w /src/_translations volumes: ${{ github.workspace }}:/src + workdir: /src/_translations command: po4a po4a.conf && po4a po4a.conf - name: Commit changed files From 61680569f2ed3c76d53a7c285f845a4267601f35 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 14:50:38 +0300 Subject: [PATCH 6/9] fix --- .github/workflows/translate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 3d5836f2..bbed1562 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -1,7 +1,9 @@ name: Update translations on: - pull_request: + pull_request_target: + paths: + - '_translations/**' push: branches: [ "master" ] paths: From 9de313a5d36585acf75da4a5006651b8cf799230 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 15:35:47 +0300 Subject: [PATCH 7/9] test --- .github/workflows/translate.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index bbed1562..3d5836f2 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -1,9 +1,7 @@ name: Update translations on: - pull_request_target: - paths: - - '_translations/**' + pull_request: push: branches: [ "master" ] paths: From 44a72bdaf56504a8e0bbc10d6343cf20da7a7cc7 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 15:37:33 +0300 Subject: [PATCH 8/9] revert --- .github/workflows/translate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 3d5836f2..bbed1562 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -1,7 +1,9 @@ name: Update translations on: - pull_request: + pull_request_target: + paths: + - '_translations/**' push: branches: [ "master" ] paths: From 4f8e006a8c0c2888538847ab028fb2ad121508e1 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 18 Feb 2026 15:38:11 +0300 Subject: [PATCH 9/9] cs --- .github/workflows/translate.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index bbed1562..5b130cde 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -28,10 +28,10 @@ jobs: - name: Use po4a uses: vjik/docker-run@v1 with: - image: ghcr.io/yiisoft-contrib/po4a:0.74 - volumes: ${{ github.workspace }}:/src - workdir: /src/_translations - command: po4a po4a.conf && po4a po4a.conf + image: ghcr.io/yiisoft-contrib/po4a:0.74 + volumes: ${{ github.workspace }}:/src + workdir: /src/_translations + command: po4a po4a.conf && po4a po4a.conf - name: Commit changed files uses: stefanzweifel/git-auto-commit-action@v5