-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
37 lines (31 loc) · 868 Bytes
/
translation-progress.yml
File metadata and controls
37 lines (31 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Update Translation Progress
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "src/translations.php"
- "scripts/translation-progress.php"
- ".github/workflows/translation-progress.yml"
- "README.md"
env:
PHP_VERSION: 8.2
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
with:
php_extensions: intl
php_version: ${{ env.PHP_VERSION }}
- name: Update Translations
run: php scripts/translation-progress.php
- name: Commit Changes
uses: EndBug/add-and-commit@v7
with:
author_name: GitHub Actions
author_email: github-actions[bot]@users.noreply.github.com
message: "docs(readme): Update translation progress"
add: "README.md"