Skip to content

Commit 3e9958f

Browse files
committed
chore(repo): test deprecation
1 parent 7aa8cbf commit 3e9958f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/deprecate-version.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Deprecate package versions
22

33
on:
4+
push:
5+
branches:
6+
- ci/deprecate-v
47
workflow_dispatch:
58
inputs:
69
version:
@@ -71,11 +74,9 @@ jobs:
7174
run: npm install -g npm@latest
7275

7376
- name: Deprecate package versions
74-
env:
75-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7677
run: |
77-
VERSION="${{ inputs.version }}"
78-
MESSAGE="${{ inputs.message }}"
78+
VERSION="${{ inputs.version || '2.86.1-canary.0' }}"
79+
MESSAGE="${{ inputs.message || 'Testing deprecation' }}"
7980
8081
PACKAGES=(
8182
"supabase-js"
@@ -121,7 +122,7 @@ jobs:
121122
with:
122123
title: 'SDK Deprecation'
123124
status: 'success'
124-
version: ${{ inputs.version }}
125+
version: ${{ inputs.version || '2.86.1-canary.0' }}
125126
secrets: inherit
126127

127128
notify-failure:
@@ -131,5 +132,5 @@ jobs:
131132
with:
132133
title: 'SDK Deprecation'
133134
status: 'failure'
134-
version: ${{ inputs.version }}
135+
version: ${{ inputs.version || '2.86.1-canary.0' }}
135136
secrets: inherit

0 commit comments

Comments
 (0)