Fix: __name__
이 아니라 __file__
로 로거 이름을 지정하도록 변경
#22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translate Readme | |
on: | |
push: | |
branches: ['**'] | |
jobs: | |
translate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 3 | |
- name: Auto Translate | |
uses: Lin-jun-xiang/action-translate-readme@v2 | |
with: | |
token: ${{ secrets.PAT_PROTOSSDRAGOON_FOR_ACTIONBOT }} | |
g4f_provider: g4f.Provider.DeepAi # You can change this provider | |
langs: "zh-CN,en" |