Skip to content

Commit 074b8b1

Browse files
committed
chore(ci): test deprecate
1 parent e179b67 commit 074b8b1

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:
@@ -73,8 +76,8 @@ jobs:
7376
env:
7477
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7578
run: |
76-
VERSION="${{ inputs.version }}"
77-
MESSAGE="${{ inputs.message }}"
79+
VERSION="${{ inputs.version || '2.86.1-canary.0' }}"
80+
MESSAGE="${{ inputs.message || 'Testing deprecation' }}"
7881
7982
PACKAGES=(
8083
"supabase-js"
@@ -120,7 +123,7 @@ jobs:
120123
with:
121124
title: 'SDK Deprecation'
122125
status: 'success'
123-
version: ${{ inputs.version }}
126+
version: ${{ inputs.version || '2.86.1-canary.0' }}
124127
secrets: inherit
125128

126129
notify-failure:
@@ -130,5 +133,5 @@ jobs:
130133
with:
131134
title: 'SDK Deprecation'
132135
status: 'failure'
133-
version: ${{ inputs.version }}
136+
version: ${{ inputs.version || '2.86.1-canary.0' }}
134137
secrets: inherit

0 commit comments

Comments
 (0)