Skip to content

Commit af737fd

Browse files
authored
always update release PR, even if title/body do not change (#187)
1 parent 3018456 commit af737fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/manifest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,15 +1146,15 @@ export class Manifest {
11461146
existing: PullRequest,
11471147
pullRequest: ReleasePullRequest
11481148
): Promise<PullRequest | undefined> {
1149-
// If unchanged, no need to push updates
1149+
// If the body and title are unchanged, update anyways since some commits that are not included in the PR body
1150+
// may have been added
11501151
if (
11511152
existing.title === pullRequest.title.toString() &&
11521153
existing.body === pullRequest.body.toString()
11531154
) {
11541155
this.logger.info(
1155-
`PR https://github.com/${this.repository.owner}/${this.repository.repo}/pull/${existing.number} remained the same`
1156+
`PR https://github.com/${this.repository.owner}/${this.repository.repo}/pull/${existing.number} remained the same - continuing anyways`
11561157
);
1157-
return undefined;
11581158
}
11591159

11601160
const updatedPullRequest = await this.github.updatePullRequest(

0 commit comments

Comments
 (0)