Skip to content

Commit

Permalink
#140 improve 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Sep 9, 2024
1 parent b443b99 commit 056242c
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
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function run() {
core.warning("⚠️ The PR body is empty, skipping checks");
}
else {
core.setFailed("❌ The PR body is empty. Please add info.");
core.setFailed("❌ The PR body is empty and allowEmpty is false. Please add a body to your PR.");
}
}
else {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function run() {
core.warning("⚠️ The PR body is empty, skipping checks");
} else {
core.setFailed(
"❌ The PR body is empty. Please add info."
"❌ The PR body is empty and allowEmpty is false. Please add a body to your PR."
);
}
} else {
Expand Down

0 comments on commit 056242c

Please sign in to comment.