-
-
Notifications
You must be signed in to change notification settings - Fork 208
43 lines (35 loc) · 1.12 KB
/
summarize_progress.yml
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
38
39
40
41
42
43
name: summarize_progress
on:
schedule:
- cron: '30 23 * * 5'
jobs:
ci:
if: github.repository == 'python/python-docs-zh-tw'
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- name: Install poetry
uses: abatilo/actions-poetry@v3
- name: Execute Check Process
run: |
chmod +x .scripts/summarize_progress.sh
.scripts/summarize_progress.sh
shell: bash
- name: Checkout wiki code
uses: actions/checkout@v4
with:
repository: ${{github.repository}}.wiki
path: markdown
- name: Copy content
run: |
cp .scripts/summarize_progress/result.md markdown/各檔案翻譯進度清單.md
shell: bash
- name: Commit wiki code
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Weekly Update -- Summarize Progress
repository: markdown