From 7b7d09d4580edbd36c82615e3fa28e21904a0b72 Mon Sep 17 00:00:00 2001 From: Jim <32538482+nietsnielin@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:59:51 +0800 Subject: [PATCH 1/4] Update code_review.yml --- .github/workflows/code_review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} From ff01bcd755a7a1b3ffb3116cc81b2a844285f14e Mon Sep 17 00:00:00 2001 From: Jim <32538482+nietsnielin@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:01:17 +0800 Subject: [PATCH 2/4] Add files via upload --- test.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test.py 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 From fb57138befa5d3a314fa7e9e15cd4ef83aa73afc Mon Sep 17 00:00:00 2001 From: JIMLIN Date: Tue, 11 Feb 2025 16:06:06 +0800 Subject: [PATCH 3/4] 1.001 --- info.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 info.txt diff --git a/info.txt b/info.txt new file mode 100644 index 0000000..d800886 --- /dev/null +++ b/info.txt @@ -0,0 +1 @@ +123 \ No newline at end of file From 8e8924a232df5675a792a30584ce1358debf739d Mon Sep 17 00:00:00 2001 From: JIMLIN Date: Tue, 11 Feb 2025 16:08:05 +0800 Subject: [PATCH 4/4] 1.002 --- info.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.txt b/info.txt index d800886..4632e06 100644 --- a/info.txt +++ b/info.txt @@ -1 +1 @@ -123 \ No newline at end of file +123456 \ No newline at end of file