File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Update Doc
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 0 1 * *'
6+
7+ jobs :
8+ create_pr :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v3
13+
14+ - name : Clone CPython Repo
15+ run : git clone https://github.com/python/cpython venv/cpython
16+
17+ - name : Set Up Python 3.11
18+ uses : actions/setup-python@v4
19+ with :
20+ python-version : " 3.11"
21+
22+ - name : Install dependencies
23+ run : pip install -r requirements.txt && sudo apt install gettext -y
24+
25+ - name : Run merge.py
26+ run : python merge.py ${GITHUB_REF##*/}
27+
28+ - name : Create Pull Request
29+ uses : peter-evans/create-pull-request@v4.2.3
30+ with :
31+ commit-message : Get changes from CPython Doc for ${{ github.ref_name }}
32+ author : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
33+ committer : github-actions[bot] <github-actions[bot]@users.noreply.github.com>
34+ branch : translation-update-${{ github.ref_name }}
35+ delete-branch : true
36+ title : Translation Update ${{ github.ref_name }}
37+ body : There are some changes, don't forget to translate them!
38+ labels : update
39+ reviewers : |
40+ egeakman
41+ ardasak
Original file line number Diff line number Diff line change 1212.DS_Store
1313.pospell /
1414.potodo /
15- .venv /
15+ .venv /
Original file line number Diff line number Diff line change 11poutils
2+ sphinx
23tqdm
34pre-commit
45polib
You can’t perform that action at this time.
0 commit comments