We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b88a71 commit 39de32eCopy full SHA for 39de32e
src/main.ts
@@ -72,11 +72,15 @@ async function run(): Promise<void> {
72
editing: true
73
})
74
75
- let newIssueBody: RecordBody = {editing: false}
+ let newRecordBody: RecordBody = {...recordBody, editing: false}
76
try {
77
- newIssueBody = await maybeUpdateBranchAndMerge(ctx, recordBody, condition)
+ newRecordBody = await maybeUpdateBranchAndMerge(
78
+ ctx,
79
+ recordBody,
80
+ condition
81
+ )
82
} finally {
- await updateRecordIssueBody(ctx, recordIssue, newIssueBody)
83
+ await updateRecordIssueBody(ctx, recordIssue, newRecordBody)
84
}
85
} catch (error) {
86
if (error instanceof Error) {
0 commit comments