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
33on :
44 workflow_dispatch :
55 schedule :
6- - cron : ' 0 3 1 * *'
6+ - cron : " 0 3 1 * *"
77
88jobs :
99 update-dep :
@@ -27,17 +27,17 @@ jobs:
2727 python scripts/translation_stats.py
2828
2929 - 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
3131 with :
3232 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"
3535 body : |
3636 This PR updates the translation guide status in the _static/translation_stats.json file.
3737
3838 _Auto-generated by [create-pull-request][1]_
3939
4040 [1]: https://github.com/peter-evans/create-pull-request
4141 branch : chore/update-translation-guide-status
42- add-paths : ' _static/translation_stats.json'
42+ add-paths : " _static/translation_stats.json"
4343 delete-branch : true
Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ def main():
101101 with open (STATIC_DIR / "translation_stats.json" , "w" ) as f :
102102 import json
103103 json .dump (results , f , indent = 2 )
104+ # Add an end-of-file newline
105+ f .write ("\n " )
104106
105107if __name__ == "__main__" :
106108 main ()
You can’t perform that action at this time.
0 commit comments