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 cd2025f commit a5b810cCopy full SHA for a5b810c
src/processor/pull.ts
@@ -331,6 +331,19 @@ export class Pull {
331
`#${prNumber} Created pull request`,
332
);
333
334
+ try {
335
+ await this.github.issues.lock({
336
+ owner: this.owner,
337
+ repo: this.repo,
338
+ issue_number: prNumber,
339
+ });
340
+ } catch (err) {
341
+ this.logger.error(
342
+ { err },
343
+ `#${prNumber} Lock failed`,
344
+ );
345
+ }
346
+
347
await this.github.issues.update({
348
owner: this.owner,
349
repo: this.repo,
0 commit comments