First Release

This commit is contained in:
Bhavik MacBook PRO 16 2023-04-05 13:26:37 +05:30
commit 39196cfe3c
15 changed files with 41721 additions and 0 deletions

27
.github/workflows/main.yaml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Code Review
on:
pull_request:
types: [opened]
issue_comment:
types: [created, edited]
jobs:
code-review:
if: |
github.event_name == 'pull_request' ||
(github.event.comment.user.login == 'adshao' &&
startsWith(github.event.comment.body, 'chatgpt'))
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: hmarr/debug-action@v2
- name: Gitea Code Review
uses: ./
with:
PROGRAMMING_LANGUAGE: 'JavaScript'
REVIEW_COMMENT_PREFIX: 'chatgpt:'
FULL_REVIEW_COMMENT: 'chatgpt'
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

19
.github/workflows/publish.yaml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Publish to Marketplace
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: https://github.com/actions/checkout@v3
- name: Setup Node.js
uses: https://github.com/actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install