Skip to content

Commit

Permalink
feat: addn pr number in reschedule
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Feb 23, 2020
1 parent 75fda70 commit 5613bd5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index-node10-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node10-dev.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index-node10.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node10.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/context/repoContext.ts
Expand Up @@ -146,7 +146,7 @@ async function initRepoContext<GroupNames extends string>(
if (!pr) throw new Error('Cannot reschedule undefined');
context.log.info('reschedule', pr);
setTimeout(() => {
lockPROrPRS('reschedule', [], () => {
lockPROrPRS('reschedule', pr.number, () => {
return lockPROrPRS(String(pr.id), pr.number, async () => {
const prResult = await context.github.pulls.get(
context.repo({
Expand Down

0 comments on commit 5613bd5

Please sign in to comment.