Skip to content

Commit

Permalink
feat: refactor: deprecate release-doctor workflow
Browse files Browse the repository at this point in the history
The release-doctor workflow only validated NPM_TOKEN, which is now handled
by the npm publish step in release-on-merge.yml. This commit disables the
workflow and adds deprecation notices.

Part of PR #26

Co-Authored-By: [email protected] <[email protected]>
  • Loading branch information
2 people authored and stainless-app[bot] committed Jan 9, 2025
1 parent b486bd5 commit 9915c6f
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file has been deprecated as its functionality is now handled by release-on-merge.yml
# The NPM token validation is performed during the npm publish step in release-on-merge.yml
# This file will be removed in a future update.
name: Release Doctor
on:
pull_request:
Expand All @@ -12,18 +15,7 @@ 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' ||
github.ref_type == 'tag')
if: false # Disabled as functionality is now in release-on-merge.yml

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.VLM_NPM_TOKEN || secrets.NPM_TOKEN }}
- run: echo "This workflow is deprecated and will be removed. NPM token validation is now handled by release-on-merge.yml"

0 comments on commit 9915c6f

Please sign in to comment.