Skip to content

Commit 081ae77

Browse files
committed
- fixed config sync before lock
1 parent 712adc4 commit 081ae77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ module.exports = (app) => {
411411
// lock flow
412412
const commandLockRegex = /^[\\\|\/\#]lock([^$]*)$/;
413413
if ((comment.toLowerCase().match(commandLockRegex))) {
414+
await sync(app, context, owner);
414415
const payloads = await getLockPayloads(
415416
context, { owner, repo, pullNumber }
416417
);

0 commit comments

Comments
 (0)