A coming soon page for a NGO #1050
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |