Skip to content

Commit c0f5811

Browse files
committed
Revert "chore(ci): add manual workflow dispatch for publishing"
This reverts commit cda418a.
1 parent cda418a commit c0f5811

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches: [main]
66
pull_request:
77
types: ["closed"]
8-
workflow_dispatch:
98

109
concurrency: ${{ github.workflow }}-${{ github.ref }}
1110

@@ -33,15 +32,15 @@ jobs:
3332
- name: Create Release Pull Request
3433
id: changesets
3534
uses: changesets/action@v1
36-
if: github.event_name != 'workflow_dispatch' && github.event.pull_request.merged != true
35+
if: github.event.pull_request.merged != true
3736
with:
3837
version: bun run version
3938
env:
4039
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4140

4241
- name: Build
4342
id: build
44-
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true && startsWith(github.head_ref, 'changeset-release/main')
43+
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'changeset-release/main')
4544
run: bun run build
4645
- name: Publish to npm
4746
id: publish

0 commit comments

Comments
 (0)