Skip to content

Commit 8a582b1

Browse files
committed
Check what body actually is
1 parent 8c3491c commit 8a582b1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28899,6 +28899,7 @@ function doChecks() {
2889928899
if (github.context.eventName === "pull_request") {
2890028900
const pullPayload = github.context.payload;
2890128901
const body = pullPayload.body;
28902+
core.info(`BODY IS: ${body}`);
2890228903
if (!body) {
2890328904
core.setFailed("No PR body provided. Please ensure you include the PR template.");
2890428905
return 1;

index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ function doChecks() {
77
if (github.context.eventName === "pull_request") {
88
const pullPayload = github.context.payload as PullRequest;
99
const body: string | null = pullPayload.body;
10-
10+
11+
core.info(`BODY IS: ${body}`);
12+
1113
if (!body) {
1214
core.setFailed("No PR body provided. Please ensure you include the PR template.");
1315
return 1;

0 commit comments

Comments
 (0)