File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 55 branches : [main]
66 pull_request :
77 types : ["closed"]
8+ workflow_dispatch :
89
910concurrency : ${{ github.workflow }}-${{ github.ref }}
1011
@@ -32,15 +33,15 @@ jobs:
3233 - name : Create Release Pull Request
3334 id : changesets
3435 uses : changesets/action@v1
35- if : github.event.pull_request.merged != true
36+ if : github.event_name != 'workflow_dispatch' && github. event.pull_request.merged != true
3637 with :
3738 version : bun run version
3839 env :
3940 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4041
4142 - name : Build
4243 id : build
43- if : github.event.pull_request.merged == true && startsWith(github.head_ref, 'changeset-release/main')
44+ if : github.event_name == 'workflow_dispatch' || github. event.pull_request.merged == true && startsWith(github.head_ref, 'changeset-release/main')
4445 run : bun run build
4546 - name : Publish to npm
4647 id : publish
You can’t perform that action at this time.
0 commit comments