Commit 7489ee8b authored by Richard Lau's avatar Richard Lau Committed by Rich Trott
Browse files

tools: add script to lint first PR commit message

Decouple first commit in pull request linting from Travis by using
the GitHub API to work out the first commit.

The shell script obtains the pull request number in one of the
following ways:
 1) supplied on the command line (use this to test against any PR)
 2) derived from the HEAD commit via the GitHub API

PR-URL: https://github.com/nodejs/node/pull/24030


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent bb254578
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment