Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Jul 2, 2024
1 parent 8b54cc6 commit e92f23b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ try {
core.info(`Type: "${type}"`);
core.info(`Ref: "${ref}"`);
core.info(`Event: "${github.context.eventName}"`);
core.info(`Event action: "${github.context.action}"`);
core.info(yaml.dump(github.context.payload));
core.info(`Event action: "${github.context.payload.action}"`);
}

let count = 0;
Expand Down Expand Up @@ -59,7 +58,7 @@ try {
}
} else {
if (debug) core.info("Closed PR event");
if (debug) core.info(prEvent.pull_request.labels);
if (debug) core.info(yaml.dump(prEvent.pull_request.labels));
matches = !prEvent.pull_request.labels.some(
(label) => label.name === value.removed_label,
);
Expand Down

0 comments on commit e92f23b

Please sign in to comment.