Skip to content

Commit

Permalink
Update release-doctor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrear33 authored Jan 8, 2025
1 parent dc6ab59 commit d90f574
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,4 +27,3 @@ jobs:
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.VLM_NPM_TOKEN || secrets.NPM_TOKEN }}

0 comments on commit d90f574

Please sign in to comment.