Skip to content

Commit 4e9691b

Browse files
authored
Merge pull request #34 from code-hike/test-release-label
Turn onlyPublishWithReleaseLabel on
2 parents 984f08d + f4f0bfe commit 4e9691b

File tree

3 files changed

+278
-4426
lines changed

3 files changed

+278
-4426
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Release
22

3-
on: [push]
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened, labeled]
7+
branches:
8+
- main
9+
- next
410

511
jobs:
612
release:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"release": "auto shipit"
1616
},
1717
"devDependencies": {
18-
"auto": "^10.18.4",
18+
"auto": "^10.18.5",
1919
"lerna": "^4.0.0"
2020
},
2121
"repository": "code-hike/codehike",
@@ -25,6 +25,6 @@
2525
"npm",
2626
"released"
2727
],
28-
"onlyPublishWithReleaseLabel": false
28+
"onlyPublishWithReleaseLabel": true
2929
}
3030
}

0 commit comments

Comments
 (0)