Skip to content

Feat/Persist-Url

Feat/Persist-Url #8

Workflow file for this run

name: shortener
env:
DOTNET_VERSION: '8'
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get the latest code
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build
- name: GPT Reviewer
uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GTOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LANGUAGE: English
OPENAI_API_ENDPOINT: https://api.openai.com/v1
MODEL: GPT-3.5-turbo
PROMPT: "Please check the naming method convention and suggest best in the following code diff"
top_p: 1
temperature: 1
max_tokens: 10000
MAX_PATCH_LENGTH: 10000