From dbabb748e401346842396a26a73e2ecac62acc7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=B3=B0?= <44827414+MuyianKing@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:31:25 +0800 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e51a217..d17f4c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,14 +1,16 @@ name: npm publish on: - push: - tags: - - "v*" + # push: + # tags: + # - "v*" + watch: + types: started jobs: publish: + if: github.event.repository.owner.id == github.event.sender.id runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - name: Use Node.js