Skip to content

Commit

Permalink
the create PR CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyz0112 committed Dec 21, 2023
1 parent 854241c commit 33f7cbf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create PR

on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited, deleted]

jobs:
handle_issue:
runs-on: ubuntu-latest
name: Create PR
steps:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.38.3
- name: Test Deno
run: deno run https://deno.land/[email protected]/examples/welcome.ts
- name: Dump Env
run: deno run -A prompts/ui-gen.ts
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,5 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

.vscode
1 change: 1 addition & 0 deletions prompts/ui-gen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log(Deno.env.toObject());

0 comments on commit 33f7cbf

Please sign in to comment.