From d90f57417990f1222b2160dde2575f79e7a7fd1e Mon Sep 17 00:00:00 2001 From: Shahrear <161046103+shahrear33@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:33:04 +0600 Subject: [PATCH] Update release-doctor.yml --- .github/workflows/release-doctor.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index beb9bb2..949617e 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -4,12 +4,20 @@ on: branches: - main workflow_dispatch: + push: + tags: + - '*' jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'vlm-run/vlmrun-node-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'vlm-run/vlmrun-node-sdk' && + (github.event_name == 'push' || + github.event_name == 'workflow_dispatch' || + startsWith(github.head_ref, 'release-please') || + github.head_ref == 'next' || + github.ref_type == 'tag') steps: - uses: actions/checkout@v4 @@ -19,4 +27,3 @@ jobs: bash ./bin/check-release-environment env: NPM_TOKEN: ${{ secrets.VLM_NPM_TOKEN || secrets.NPM_TOKEN }} -