Skip to content

Commit 6035f17

Browse files
ci: publish v2 from main (#417)
1 parent d12d367 commit 6035f17

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/sdk_publish_mistralai_sdk.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,15 @@ permissions:
66
statuses: write
77
"on":
88
workflow_dispatch:
9-
inputs:
10-
confirm_publish:
11-
description: 'WARNING: This will publish v2 SDK (mistralai.client namespace) which is still WIP/alpha. To publish v1 (mistralai namespace), use the v1 branch instead. Type "publish" to confirm.'
12-
required: false
13-
type: string
149
push:
1510
branches:
16-
- v1
11+
- main
1712
paths:
1813
- RELEASES.md
1914
- "*/RELEASES.md"
2015
jobs:
2116
publish:
22-
# Auto-publish from v1 branch; require manual confirmation from main
23-
if: |
24-
github.ref == 'refs/heads/v1' ||
25-
(github.event_name == 'workflow_dispatch' && github.event.inputs.confirm_publish == 'publish')
17+
if: github.ref == 'refs/heads/main'
2618
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@7951d9dce457425b900b2dd317253499d98c2587 # v15
2719
secrets:
2820
github_access_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)