Skip to content

网页五子棋

网页五子棋 #1148

Workflow file for this run

name: Create PR
on:
issues:
types: [edited, labeled, unlabeled]
issue_comment:
types: [created, edited, deleted]
pull_request_review_comment:
types: [created, edited, deleted]
jobs:
handle_issue:
runs-on: ubuntu-latest
name: Create PR
if: ${{ !contains(github.event.comment.body, '[vx.dev]') && !contains(github.event.comment.body, '[Dewhale]') && 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:
# auto set by GitHub, details in
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
WHITELIST: ${{ secrets.WHITELIST }}
CONFIG: ${{ vars.CONFIG }}
ACTOR: ${{ github.actor }}
run: deno run -A prompts/entry.ts