Skip to content

Commit

Permalink
Merge pull request #3 from Yuyz0112/ci
Browse files Browse the repository at this point in the history
the create PR CI
  • Loading branch information
Yuyz0112 authored Dec 21, 2023
2 parents 854241c + 33f7cbf commit 7265ca0
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 7265ca0

Please sign in to comment.