Skip to content

Commit 6a44c48

Browse files
author
rahul-infra
committed
fix: configure semantic-release to analyze PR branches
1 parent 2d1abfc commit 6a44c48

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/version-preview.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
with:
2828
semantic_version: 18.0.0
2929
dry_run: true
30+
branches: |
31+
[
32+
'main',
33+
{name: '*', prerelease: true}
34+
]
3035
extra_plugins: |
3136
@semantic-release/changelog@6.0.0
3237
@semantic-release/git@10.0.0
@@ -40,7 +45,7 @@ jobs:
4045
with:
4146
header: release-preview
4247
message: |
43-
## 📦 Release Preview
48+
## Release Preview
4449
4550
${{ steps.semantic.outputs.new_release_published == 'true' && format('**Release Type:** `{0}`
4651
**Next Version:** `v{1}`

0 commit comments

Comments
 (0)