diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml new file mode 100644 index 0000000..5b8bad4 --- /dev/null +++ b/.github/workflows/cr.yml @@ -0,0 +1,22 @@ +name: Code Review + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: [opened, reopened] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: wangsanshao/chatgpt-cr@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + OPENAI_API_ENDPOINT: https://api.aiproxy.io/v1 + # optional + LANGUAGE: Chinese + PROMPT: \ No newline at end of file diff --git a/miniprogram/pages/index/index.ts b/miniprogram/pages/index/index.ts index 508ab8f..d5d6ee3 100644 --- a/miniprogram/pages/index/index.ts +++ b/miniprogram/pages/index/index.ts @@ -47,6 +47,9 @@ Page({ }) }, clickHello() { - console.log('app', app) + var test = [,1,2,3,5] + console.log(test) + var v; + // console.log('app', app) } })