diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml index c634b2d..8f03b4d 100644 --- a/.github/workflows/create-pr.yml +++ b/.github/workflows/create-pr.yml @@ -10,6 +10,7 @@ jobs: handle_issue: runs-on: ubuntu-latest name: Create PR + if: "!contains(github.event.comment.body , '[vx.dev]')" steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/prompts/ui-gen.ts b/prompts/ui-gen.ts index aea58db..8cd7ec2 100644 --- a/prompts/ui-gen.ts +++ b/prompts/ui-gen.ts @@ -234,7 +234,12 @@ async function main() { const eventName = Deno.env.get("GITHUB_EVENT_NAME"); assert(eventName, "failed to get event name"); - console.log(githubEvent.action, eventName, githubEvent.issue); + console.log( + githubEvent.action, + eventName, + githubEvent.issue, + githubEvent.comment + ); const isPr = Boolean(githubEvent.issue.pull_request);