This commit is contained in:
Jim 2025-02-11 16:06:28 +08:00 committed by GitHub
commit 2935f50193
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View file

@ -12,7 +12,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Code Review
uses: freeedcom/ai-codereviewer@main
uses: nietsnielin/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

1
info.txt Normal file
View file

@ -0,0 +1 @@
123

9
test.py Normal file
View file

@ -0,0 +1,9 @@
# 讀取文件
with open('input.txt', 'r') as file:
content = file.read()
print("文件內容:", content)
# 寫入文件
with open('output.txt', 'w') as file:
file.write("這是寫入的新內容。")
print("內容已寫入output.txt")s