Skip to content

Commit

Permalink
ci: publish only on approved review
Browse files Browse the repository at this point in the history
  • Loading branch information
sadeghbarati authored May 18, 2024
1 parent 70fad6c commit 2de584a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pkg.pr.new.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Publish Approved PR
on:
push:
pull_request:
types: [opened, synchronize, reopened]
pull_request_review:
types: [submitted]

Expand Down Expand Up @@ -42,7 +39,7 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Build Radix Vue and Plugins
- name: Build Radix Vue and plugins
run: pnpm run build

- run: pnpm dlx pkg-pr-new publish ./packages/radix-vue
Expand Down

0 comments on commit 2de584a

Please sign in to comment.