hexo-theme-solitude 2.0.6 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ name: Code Review Bot
2
+
3
+ permissions:
4
+ contents: read
5
+ pull-requests: write
6
+
7
+ on:
8
+ pull_request:
9
+ types: [opened, reopened, synchronize]
10
+
11
+ jobs:
12
+ test:
13
+ # if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} # Optional; to run only when a label is attached
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: anc95/ChatGPT-CodeReview@main
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
20
+ # Optional
21
+ LANGUAGE: Chinese
22
+ OPENAI_API_ENDPOINT: https://api.openai.com/v1
23
+ MODEL: gpt-3.5-turbo
24
+ PROMPT:
25
+ top_p: 1
26
+ temperature: 1
27
+ max_tokens: 1000
28
+ MAX_PATCH_LENGTH: 1000