From 89e299e048d6af6a27916429bec1cf33b20ce521 Mon Sep 17 00:00:00 2001 From: Muryor <65432884+Muryor@users.noreply.github.com> Date: Fri, 25 Mar 2022 21:09:01 +0800 Subject: [PATCH] Update autopublish.yml --- .github/workflows/autopublish.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autopublish.yml b/.github/workflows/autopublish.yml index 3630aa8..ab90b2d 100644 --- a/.github/workflows/autopublish.yml +++ b/.github/workflows/autopublish.yml @@ -1,9 +1,23 @@ name: Node.js Package on: - push: - branches: - - main + pull_request: + types: + - labeled + - unlabeled + - synchronize + - opened + - edited + - ready_for_review + - reopened + - unlocked + pull_request_review: + types: + - submitted + check_suite: + types: + - completed + status: {} jobs: publish-npm: