There was an error while loading. Please reload this page.
1 parent 25ca17f commit d05833dCopy full SHA for d05833d
1 file changed
.github/workflows/update-po-headers.yml
@@ -0,0 +1,28 @@
1
+name: Update PO Headers
2
+
3
+on:
4
+ schedule:
5
+ - cron: '30 4 * * 1'
6
+ workflow_dispatch: {}
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ update-headers:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Update PO file headers
20
+ run: python3 scripts/update_po_headers.py --merge
21
22
+ - name: Commit if changed
23
+ run: |
24
+ git config user.name "github-actions[bot]"
25
+ git config user.email "github-actions[bot]@users.noreply.github.com"
26
+ git add '*.po'
27
+ git diff --staged --quiet || git commit -m "Update PO file translator credits"
28
+ git push
0 commit comments