mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Change PR title in prerelease mode to include tag name (#7)
* Change PR title in prerelease mode to include tag name * Add title to pull update call
This commit is contained in:
committed by
Mitchell Hamilton
parent
76f43bb56a
commit
6486ac4c6a
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -234,13 +234,14 @@ ${
|
||||
await octokit.pulls.create({
|
||||
base: branch,
|
||||
head: versionBranch,
|
||||
title: "Version Packages",
|
||||
title: `Version Packages${isInPreMode ? ` (${preState.tag})` : ""}`,
|
||||
body: await prBodyPromise,
|
||||
...github.context.repo
|
||||
});
|
||||
} else {
|
||||
octokit.pulls.update({
|
||||
pull_number: searchResult.data.items[0].number,
|
||||
title: `Version Packages${isInPreMode ? ` (${preState.tag})` : ""}`,
|
||||
body: await prBodyPromise,
|
||||
...github.context.repo
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user