File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Update translation guide status
3
3
on :
4
4
workflow_dispatch :
5
5
schedule :
6
- - cron : ' 0 3 1 * *'
6
+ - cron : " 0 3 1 * *"
7
7
8
8
jobs :
9
9
update-dep :
@@ -27,17 +27,17 @@ jobs:
27
27
python scripts/translation_stats.py
28
28
29
29
- name : Create Pull Request
30
- uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
30
+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
31
31
with :
32
32
token : ${{ secrets.GITHUB_TOKEN }}
33
- commit-message : ' chore(translation): update translation guide status'
34
- title : ' chore(translation): update translation guide status'
33
+ commit-message : " chore(translation): update translation guide status"
34
+ title : " chore(translation): update translation guide status"
35
35
body : |
36
36
This PR updates the translation guide status in the _static/translation_stats.json file.
37
37
38
38
_Auto-generated by [create-pull-request][1]_
39
39
40
40
[1]: https://github.com/peter-evans/create-pull-request
41
41
branch : chore/update-translation-guide-status
42
- add-paths : ' _static/translation_stats.json'
42
+ add-paths : " _static/translation_stats.json"
43
43
delete-branch : true
Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ def main():
101
101
with open (STATIC_DIR / "translation_stats.json" , "w" ) as f :
102
102
import json
103
103
json .dump (results , f , indent = 2 )
104
+ # Add an end-of-file newline
105
+ f .write ("\n " )
104
106
105
107
if __name__ == "__main__" :
106
108
main ()
You can’t perform that action at this time.
0 commit comments