Skip to content

Commit

Permalink
Rebuild action
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed May 13, 2021
1 parent d99be49 commit 6bb4a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Expand Up @@ -5967,7 +5967,7 @@ function run() {
return __awaiter(this, void 0, void 0, function* () {
const token = core.getInput("github-token", { required: true });
const prNumber = parseInt(core.getInput("pull-request-number"), 10);
if (Number.isNaN(prNumber)) {
if (!Number.isNaN(prNumber)) {
yield approve_1.approve(token, github.context, prNumber);
}
else {
Expand Down

0 comments on commit 6bb4a3d

Please sign in to comment.