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 5
5
branches : [main]
6
6
pull_request :
7
7
types : ["closed"]
8
+ workflow_dispatch :
8
9
9
10
concurrency : ${{ github.workflow }}-${{ github.ref }}
10
11
@@ -32,15 +33,15 @@ jobs:
32
33
- name : Create Release Pull Request
33
34
id : changesets
34
35
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
36
37
with :
37
38
version : bun run version
38
39
env :
39
40
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
41
41
42
- name : Build
42
43
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')
44
45
run : bun run build
45
46
- name : Publish to npm
46
47
id : publish
You can’t perform that action at this time.
0 commit comments