| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff 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 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ python = "^3.10" | |||
| 10 | 10 | polib = "1.1.1" | |
| 11 | 11 | googletrans = "3.1.0a0" | |
| 12 | 12 | translate-toolkit = "3.8.1" | |
| 13 | - | ||
| 13 | + requests = "2.31.0" | ||
| 14 | 14 | ||
| 15 | 15 | [build-system] | |
| 16 | 16 | requires = ["poetry-core"] | |
| Original file line number | Diff line number | Diff 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 | + " | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments