Skip to content

Commit

Permalink
Add missing await.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 16, 2020
1 parent f058447 commit cd24fd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.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.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/automerge-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class AutomergeAction {
} else {
core.info(`Merging pull request ${number}:`)

this.octokit.pulls.merge({
await this.octokit.pulls.merge({
...github.context.repo,
pull_number: number,
sha: pullRequest.head.sha,
Expand Down

0 comments on commit cd24fd6

Please sign in to comment.