-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci] Add linter for PR title and body #12367
Conversation
1437ca6
to
68cfdc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
2a31748
to
da98213
Compare
This got out of date after merging apache#12178 Co-authored-by: driazati <[email protected]>
No additional skipped tests found in this branch for commit 24b4440. |
hey @driazati thanks for adding this linter. I found it not throwing meaningful CI failure message when PR body is missing (empty). Here are the CI error message:
Shall we improve it? |
thanks for flagging that! #12680 should fix it |
* [skip ci][ci] Fix Jenkinsfile (apache#12387) This got out of date after merging apache#12178 Co-authored-by: driazati <[email protected]> * Address comments Co-authored-by: driazati <[email protected]>
This adds a lint step that checks the PR title and body with some of the basic checks from apache/tvm-rfcs#88. This makes it so we can enforce the decided rules without having to rely on automated fix-ups, though for certain things those would be ideal in the future. The rules implemented here are not complete as the RFC is not fully merged but this is just supposed to be a starting point with some of the basic rules, namely that a title and body should be present. A follow up PR will enforce that there are no @ tags once #12637 is resolved.
cc @Mousius @areusch @gigiblender @gromero @leandron