Skip to content

Commit c8fca6f

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

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/deprecate-version.yml

Lines changed: 7 additions & 4 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:
@@ -74,8 +77,8 @@ jobs:
7477
env:
7578
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7679
run: |
77-
VERSION="${{ inputs.version }}"
78-
MESSAGE="${{ inputs.message }}"
80+
VERSION="${{ inputs.version || '2.86.1-canary.0' }}"
81+
MESSAGE="${{ inputs.message || 'Testing deprecation' }}"
7982
8083
PACKAGES=(
8184
"supabase-js"
@@ -121,7 +124,7 @@ jobs:
121124
with:
122125
title: 'SDK Deprecation'
123126
status: 'success'
124-
version: ${{ inputs.version }}
127+
version: ${{ inputs.version || '2.86.1-canary.0' }}
125128
secrets: inherit
126129

127130
notify-failure:
@@ -131,5 +134,5 @@ jobs:
131134
with:
132135
title: 'SDK Deprecation'
133136
status: 'failure'
134-
version: ${{ inputs.version }}
137+
version: ${{ inputs.version || '2.86.1-canary.0' }}
135138
secrets: inherit

0 commit comments

Comments
 (0)