diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml index 3edcf77..a224759 100644 --- a/.github/workflows/code_review.yml +++ b/.github/workflows/code_review.yml @@ -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 }} diff --git a/info.txt b/info.txt new file mode 100644 index 0000000..4632e06 --- /dev/null +++ b/info.txt @@ -0,0 +1 @@ +123456 \ No newline at end of file diff --git a/test.py b/test.py new file mode 100644 index 0000000..a05a9f1 --- /dev/null +++ b/test.py @@ -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 \ No newline at end of file