File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
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 :
9
8
10
9
concurrency : ${{ github.workflow }}-${{ github.ref }}
11
10
@@ -33,15 +32,15 @@ jobs:
33
32
- name : Create Release Pull Request
34
33
id : changesets
35
34
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
37
36
with :
38
37
version : bun run version
39
38
env :
40
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
40
42
41
- name : Build
43
42
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')
45
44
run : bun run build
46
45
- name : Publish to npm
47
46
id : publish
You can’t perform that action at this time.
0 commit comments