@@ -2,47 +2,47 @@ name: Update Doc
22on :
33 workflow_dispatch :
44 schedule :
5- - cron : ' 0 0 1 * *'
5+ - cron : " 0 0 1 * *"
66
77jobs :
88 create_pr :
99 runs-on : ubuntu-latest
1010
1111 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 : Commit changes
29- run : |
30- git config --local user.email "python.docs.tr@gmail.com"
31- git config --local user.name "python-docs-turkish"
32- git commit -m "Get changes from CPython Doc for ${{ github.ref_name }}"
33-
34- - name : Create Pull Request
35- uses : peter-evans/create-pull-request@v4.2.3
36- with :
37- token : ${{ secrets.BOT_PAT }}
38- commit-message : Get changes from CPython Doc for ${{ github.ref_name }}
39- author : python-docs-turkish <python.docs.tr@gmail.com>
40- committer : python-docs-turkish <python.docs.tr@gmail.com>
41- branch : translation-update-${{ github.ref_name }}
42- delete-branch : true
43- title : Translation Update ${{ github.ref_name }}
44- body : There are some changes, don't forget to translate them!
45- labels : update
46- reviewers : |
47- egeakman
48- ardasak
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 : Commit changes
29+ run : |
30+ git config --local user.email "python.docs.tr@gmail.com"
31+ git config --local user.name "python-docs-turkish"
32+ git commit -m "Get changes from CPython Doc for ${{ github.ref_name }}"
33+
34+ - name : Create Pull Request
35+ uses : peter-evans/create-pull-request@v4.2.3
36+ with :
37+ token : ${{ secrets.BOT_PAT }}
38+ commit-message : Get changes from CPython Doc for ${{ github.ref_name }}
39+ author : python-docs-turkish <python.docs.tr@gmail.com>
40+ committer : python-docs-turkish <python.docs.tr@gmail.com>
41+ branch : translation-update-${{ github.ref_name }}
42+ delete-branch : true
43+ title : Translation Update ${{ github.ref_name }}
44+ body : There are some changes, don't forget to translate them!
45+ labels : update
46+ reviewers : |
47+ egeakman
48+ ardasak
0 commit comments