From 5574b25017266df4dde4c2032965216dcc5e6ae0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 27 Jan 2021 11:47:42 -0500 Subject: [PATCH] remove the need for the PR description to be filled in --- pr-lint/src/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pr-lint/src/index.js b/pr-lint/src/index.js index 19658823465664e..37a2ffa9ff421ef 100644 --- a/pr-lint/src/index.js +++ b/pr-lint/src/index.js @@ -31,15 +31,6 @@ async function main() { ); } - const { body } = contextPullRequest; - if (!body.trim()) { - // Even for typos it's required that to explain something about the PR. - return ( - "Pull request body can't be empty. " + - "Please try to explain what the pull request accomplishes." - ); - } - // No errors or problems! return null; }