Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44eb265

Browse files
authored
Add a Script to List Translate Progress by File and Show the Assignee (#706)
1 parentbc14c29 commit44eb265

File tree

6 files changed

+817
-3
lines changed

6 files changed

+817
-3
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name:summarize_progress
2+
3+
on:
4+
schedule:
5+
-cron:'30 23 * * 5'
6+
7+
jobs:
8+
ci:
9+
runs-on:ubuntu-latest
10+
permissions:
11+
# Give the default GITHUB_TOKEN write permission to commit and push the
12+
# added or changed files to the repository.
13+
contents:write
14+
steps:
15+
-uses:actions/checkout@v2
16+
17+
-name:Install poetry
18+
uses:abatilo/actions-poetry@v2
19+
20+
-name:Execute Check Process
21+
run:|
22+
chmod +x .scripts/summarize_progress.sh
23+
.scripts/summarize_progress.sh
24+
shell:bash
25+
26+
-uses:stefanzweifel/git-auto-commit-action@v5
27+
with:
28+
commit_message:Weekly Update -- Summarize Progress

‎.scripts/poetry.lock

Lines changed: 140 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎.scripts/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ python = "^3.10"
1010
polib ="1.1.1"
1111
googletrans ="3.1.0a0"
1212
translate-toolkit ="3.8.1"
13-
13+
requests ="2.31.0"
1414

1515
[build-system]
1616
requires = ["poetry-core"]

‎.scripts/summarize_progress.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
WORK_DIR=.scripts
4+
cd$WORK_DIR
5+
6+
source utils/install_poetry.sh
7+
8+
poetry lock
9+
poetry install
10+
poetry run bash -c"
11+
python summarize_progress/main.py
12+
"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp