https://github.com/anc95/ChatGPT-CodeReview
GitHub - anc95/ChatGPT-CodeReview: ๐ฅ A code review bot powered by ChatGPT
๐ฅ A code review bot powered by ChatGPT. Contribute to anc95/ChatGPT-CodeReview development by creating an account on GitHub.
github.com
OpenAI API์ ์์ ๋ด, ๊นํ๋ธ ์ก์
์ ์ฌ์ฉํ๋ฉด ๊นํ๋ธ PR ์ ChatGPT๋ฅผ ์ด์ฉํ ์ฝ๋ ๋ฆฌ๋ทฐ๋ฅผ ์งํํ ์ ์๋ค.
์์ >
https://github.com/LucetTin5/alchol-diary/pull/12
feat: use Next/Image to optimize by LucetTin5 · Pull Request #12 · LucetTin5/alchol-diary
github.com
์ฌ์ฉํ๋ ค๋ฉด ๋จผ์ OpenAI API ํค๋ฅผ ๋ฐ๊ธ๋ฐ์์ผ ํ๋ค.
๋ฐ๊ธ๋ฐ์ API ํค๋ Repository์ variable์ ๋ฑ๋กํด์ผ ํ๋ค.
์์ฒ๋ผ OPENAI_API_KEY๋ก ๋ฑ๋กํ ํค๋ github action์ด ์คํ๋ ๋ ๋ถ๋ฌ์ฌ ์ ์๋ ํ๊ฒฝ๋ณ์๊ฐ ๋๋ค.
์ด์ด์ github action์ ์คํํ๊ธฐ ์ํ์ฌ Repository์ .github/workflows ๋๋ ํ ๋ฆฌ์ ์์) cr.yml ํ์ผ์ ์์ฑํด์ผ ํ๋ค.
https://github.com/LucetTin5/alchol-diary/blob/main/.github/workflows/cr.yml
GitHub - LucetTin5/alchol-diary
Contribute to LucetTin5/alchol-diary development by creating an account on GitHub.
github.com
์๋ ๋ด ์ฌ์ฉ์ ์ฐธ๊ณ ํ์ฌ ์์ฑํ cr.yml๋ก main์ pull request๊ฐ ์คํ๋ ๋ ์๋ํ๋ action์ ์ค์ ํ ํํ์ด๋ค.
Language๋ Korean, English ์ํ๋ ๊ฐ์ผ๋ก ์ค์ ํด ์ค ์ ์๋ค.