Skip to content

[vx.dev] implements #23 #107

[vx.dev] implements #23

[vx.dev] implements #23 #107

Workflow file for this run

name: Create PR
on:
issues:
types: [edited, labeled, unlabeled]
issue_comment:
types: [created, edited, deleted]
jobs:
handle_issue:
runs-on: ubuntu-latest
name: Create PR
if: "!contains(github.event.comment.body , '[vx.dev]') && github.event.comment.user.type != 'bot'"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.38.3
- name: generate UI
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
WHITELIST: ${{ secrets.WHITELIST }}
run: deno run -A prompts/ui-gen.ts