Skip to content

Commit 38efd92

Browse files
committed
GH-1 don't disable change-to and comment on PR edit
1 parent 8d48815 commit 38efd92

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

main.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ async function run() {
5151

5252
let payload = context.payload;
5353
let action = payload.action;
54-
if (action === "edited") {
55-
usingComment = false;
56-
usingChangeTo = false;
57-
} else if (action !== "opened") {
54+
if (action !== "edited" && action !== "opened") {
5855
core.info("Ignoring action that isn't opened or edited");
5956
return;
6057
}

0 commit comments

Comments
 (0)